Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.577/2.577, allocations: 248.6 MB / 255.9 MB, free: 7.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002929/0.002929, allocations: 191.9 kB / 315.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.117/2.117, allocations: 205.1 MB / 0.5658 GB, free: 384 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001778/0.001777, allocations: 86.16 kB / 0.67 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5206/0.5224, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.7662, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7092/1.475, allocations: 131.5 MB / 1.012 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/1.476, allocations: 67.97 kB / 1.012 GB, free: 8.664 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.003346/1.479, allocations: 0.7606 MB / 1.013 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/1.479, allocations: 15.98 kB / 1.013 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/1.479, allocations: 0 / 1.013 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/1.479, allocations: 163.9 kB / 1.013 GB, free: 7.719 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/1.479, allocations: 3.906 kB / 1.013 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/1.48, allocations: 4 kB / 1.013 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.551e-05/1.48, allocations: 11.06 kB / 1.013 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.907e-05/1.48, allocations: 44.06 kB / 1.013 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/1.48, allocations: 4 kB / 1.013 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/1.48, allocations: 0 / 1.013 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/1.48, allocations: 0 / 1.013 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/1.48, allocations: 228.6 kB / 1.013 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/1.48, allocations: 29.83 kB / 1.013 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.802e-05/1.48, allocations: 12.36 kB / 1.013 GB, free: 7.355 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/1.48, allocations: 7.938 kB / 1.013 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/1.48, allocations: 30.56 kB / 1.013 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/1.48, allocations: 0 / 1.013 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002065/1.481, allocations: 45.19 kB / 1.013 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/1.481, allocations: 51.41 kB / 1.013 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.971e-05/1.481, allocations: 92 kB / 1.013 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/1.481, allocations: 25.7 kB / 1.013 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/1.481, allocations: 91.59 kB / 1.014 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/1.481, allocations: 4.031 kB / 1.014 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/1.481, allocations: 4 kB / 1.014 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.481, allocations: 314.8 kB / 1.014 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.082e-05/1.481, allocations: 7.875 kB / 1.014 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.277e-05/1.481, allocations: 0 / 1.014 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.991e-05/1.481, allocations: 7.688 kB / 1.014 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.481, allocations: 3.938 kB / 1.014 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001267/1.481, allocations: 48.81 kB / 1.014 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/1.481, allocations: 8.094 kB / 1.014 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/1.481, allocations: 0 / 1.014 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/1.481, allocations: 4 kB / 1.014 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/1.482, allocations: 11.98 kB / 1.014 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/1.482, allocations: 0 / 1.014 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/1.482, allocations: 15.98 kB / 1.014 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/1.482, allocations: 0 / 1.014 GB, free: 6.559 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.083e-05/1.482, allocations: 104.9 kB / 1.014 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/1.482, allocations: 4 kB / 1.014 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.02e-05/1.482, allocations: 10.58 kB / 1.014 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.482, allocations: 0 / 1.014 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.482, allocations: 0 / 1.014 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/1.482, allocations: 3.906 kB / 1.014 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/1.482, allocations: 138 kB / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.482, allocations: 4 kB / 1.014 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/1.482, allocations: 15.98 kB / 1.014 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/1.482, allocations: 0 / 1.014 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/1.482, allocations: 0.875 kB / 1.014 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/1.482, allocations: 0 / 1.014 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.482, allocations: 3.938 kB / 1.014 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001585/1.483, allocations: 146.4 kB / 1.014 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002787/1.483, allocations: 0.5065 MB / 1.015 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/1.483, allocations: 77.11 kB / 1.015 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/1.483, allocations: 5.312 kB / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/1.483, allocations: 14.56 kB / 1.015 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/1.483, allocations: 8.172 kB / 1.015 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/1.483, allocations: 0 / 1.015 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.231e-05/1.483, allocations: 87.08 kB / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001127/1.484, allocations: 15.89 kB / 1.015 GB, free: 5.359 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001544/1.485, allocations: 111.1 kB / 1.015 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001091/1.485, allocations: 14.88 kB / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.485, allocations: 3.312 kB / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.386e-05/1.485, allocations: 8 kB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/1.485, allocations: 7.781 kB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/1.485, allocations: 73.95 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003773/1.486, allocations: 0.688 MB / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of SimCode: time 1.153e-06/1.486, allocations: 0 / 1.016 GB, free: 4.41 MB / 0.6355 GB