Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",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.3-maint.7.0.x/package.mo): time 1.263/1.263, allocations: 249.4 MB / 256.7 MB, free: 7.152 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.0009653/0.0009653, allocations: 192.4 kB / 316 MB, free: 3.555 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.2 MB / 0.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008435/0.0008433, allocations: 86.86 kB / 0.671 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3501/0.351, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.5083, allocations: 106.3 MB / 0.8847 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6275/1.136, allocations: 358 MB / 1.234 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/1.136, allocations: 84.02 kB / 1.234 GB, free: 12.25 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.4196/1.556, allocations: 70.34 MB / 1.303 GB, free: 238.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/1.556, allocations: 13.03 kB / 1.303 GB, free: 238.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/1.556, allocations: 17.75 kB / 1.303 GB, free: 238.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/1.556, allocations: 241.7 kB / 1.303 GB, free: 238.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/1.556, allocations: 3.938 kB / 1.303 GB, free: 238.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/1.556, allocations: 6.75 kB / 1.303 GB, free: 238.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001441/1.556, allocations: 57.61 kB / 1.303 GB, free: 238.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/1.556, allocations: 111.3 kB / 1.303 GB, free: 238.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/1.556, allocations: 0 / 1.303 GB, free: 238.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/1.556, allocations: 2.016 kB / 1.303 GB, free: 238.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/1.557, allocations: 5.312 kB / 1.303 GB, free: 238.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005621/1.557, allocations: 0.4935 MB / 1.304 GB, free: 237.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.497e-05/1.557, allocations: 73.14 kB / 1.304 GB, free: 237.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.499e-05/1.557, allocations: 41.14 kB / 1.304 GB, free: 237.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/1.557, allocations: 333.9 kB / 1.304 GB, free: 237.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/1.557, allocations: 34.12 kB / 1.304 GB, free: 237.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/1.557, allocations: 4 kB / 1.304 GB, free: 237.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0003024/1.558, allocations: 98.27 kB / 1.304 GB, free: 237.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.802e-05/1.558, allocations: 77.11 kB / 1.305 GB, free: 237.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.442e-05/1.558, allocations: 141.8 kB / 1.305 GB, free: 237 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/1.558, allocations: 25.7 kB / 1.305 GB, free: 237 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/1.558, allocations: 113.9 kB / 1.305 GB, free: 236.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/1.558, allocations: 23.42 kB / 1.305 GB, free: 236.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/1.558, allocations: 0 / 1.305 GB, free: 236.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.298e-05/1.558, allocations: 324.6 kB / 1.305 GB, free: 236.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.291e-05/1.558, allocations: 16.66 kB / 1.305 GB, free: 236.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.638e-05/1.558, allocations: 60.77 kB / 1.305 GB, free: 236.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/1.558, allocations: 36.09 kB / 1.305 GB, free: 236.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.558, allocations: 0 / 1.305 GB, free: 236.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001942/1.558, allocations: 102.2 kB / 1.305 GB, free: 236.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/1.558, allocations: 11.81 kB / 1.305 GB, free: 236.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/1.559, allocations: 1.281 kB / 1.305 GB, free: 236.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/1.559, allocations: 1.312 kB / 1.305 GB, free: 236.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/1.559, allocations: 26.81 kB / 1.305 GB, free: 236.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/1.559, allocations: 1.344 kB / 1.305 GB, free: 236.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/1.559, allocations: 27.7 kB / 1.305 GB, free: 236.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/1.559, allocations: 3.906 kB / 1.305 GB, free: 236.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 4.531e-05/1.559, allocations: 106.7 kB / 1.306 GB, free: 236.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/1.559, allocations: 15.97 kB / 1.306 GB, free: 236.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/1.559, allocations: 139.2 kB / 1.306 GB, free: 236.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/1.559, allocations: 1.25 kB / 1.306 GB, free: 236.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.559, allocations: 1.375 kB / 1.306 GB, free: 236.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/1.559, allocations: 0 / 1.306 GB, free: 236.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004667/1.56, allocations: 431.8 kB / 1.306 GB, free: 235.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.56, allocations: 1.25 kB / 1.306 GB, free: 235.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/1.56, allocations: 24.55 kB / 1.306 GB, free: 235.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/1.56, allocations: 2.531 kB / 1.306 GB, free: 235.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/1.56, allocations: 9.234 kB / 1.306 GB, free: 235.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/1.56, allocations: 2.609 kB / 1.306 GB, free: 235.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.56, allocations: 5.078 kB / 1.306 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002665/1.56, allocations: 364.7 kB / 1.306 GB, free: 235.5 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002923/1.56, allocations: 0.7295 MB / 1.307 GB, free: 234.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/1.561, allocations: 100.5 kB / 1.307 GB, free: 234.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/1.561, allocations: 5.25 kB / 1.307 GB, free: 234.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/1.561, allocations: 13.61 kB / 1.307 GB, free: 234.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/1.561, allocations: 5.812 kB / 1.307 GB, free: 234.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/1.561, allocations: 8.484 kB / 1.307 GB, free: 234.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.4e-05/1.561, allocations: 121 kB / 1.307 GB, free: 234.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009292/1.562, allocations: 74.25 kB / 1.308 GB, free: 234.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003747/1.562, allocations: 244.7 kB / 1.308 GB, free: 234.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001479/1.562, allocations: 71.53 kB / 1.308 GB, free: 234.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.562, allocations: 0 / 1.308 GB, free: 234.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.822e-05/1.562, allocations: 46.77 kB / 1.308 GB, free: 234.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/1.563, allocations: 51.17 kB / 1.308 GB, free: 234.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/1.563, allocations: 214.8 kB / 1.308 GB, free: 234.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/1.563, allocations: 0.7536 MB / 1.309 GB, free: 233.5 MB / 0.8542 GB Notification: Performance of SimCode: time 2.61e-07/1.563, allocations: 0 / 1.309 GB, free: 233.5 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)