Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.149/2.149, allocations: 390.4 MB / 397.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.001099, allocations: 188 kB / 490.8 MB, free: 1.914 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.642/1.642, allocations: 221.4 MB / 0.7863 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 95.17 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.5957/0.5969, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.9422, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.104/2.047, allocations: 377.2 MB / 1.58 GB, free: 5.531 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001793/2.047, allocations: 82.64 kB / 1.58 GB, free: 5.488 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.238/2.285, allocations: 124.2 MB / 1.701 GB, free: 1.887 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/2.285, allocations: 12 kB / 1.701 GB, free: 1.875 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.692e-05/2.285, allocations: 31.62 kB / 1.701 GB, free: 1.844 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/2.285, allocations: 313.2 kB / 1.702 GB, free: 1.496 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/2.285, allocations: 8 kB / 1.702 GB, free: 1.488 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/2.285, allocations: 16 kB / 1.702 GB, free: 1.473 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002286/2.286, allocations: 112.9 kB / 1.702 GB, free: 1.359 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/2.286, allocations: 192.6 kB / 1.702 GB, free: 1.164 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/2.286, allocations: 0 / 1.702 GB, free: 1.164 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/2.286, allocations: 4 kB / 1.702 GB, free: 1.16 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/2.286, allocations: 11.91 kB / 1.702 GB, free: 1.148 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/2.287, allocations: 0.7575 MB / 1.703 GB, free: 352 kB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/2.287, allocations: 105.1 kB / 1.703 GB, free: 228 kB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.206e-05/2.287, allocations: 65.77 kB / 1.703 GB, free: 156 kB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003382/2.288, allocations: 0.4908 MB / 1.703 GB, free: 15.55 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/2.288, allocations: 34.56 kB / 1.703 GB, free: 15.51 MB / 1.12 GB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/2.288, allocations: 0 / 1.703 GB, free: 15.51 MB / 1.12 GB Notification: Performance of matching and sorting (n=12): time 0.0004155/2.288, allocations: 153.4 kB / 1.704 GB, free: 15.35 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/2.288, allocations: 81.11 kB / 1.704 GB, free: 15.25 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/2.288, allocations: 172.2 kB / 1.704 GB, free: 15.08 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/2.288, allocations: 29.7 kB / 1.704 GB, free: 15.04 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 6.665e-05/2.288, allocations: 152.1 kB / 1.704 GB, free: 14.89 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/2.288, allocations: 31.47 kB / 1.704 GB, free: 14.86 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-06/2.288, allocations: 0 / 1.704 GB, free: 14.86 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 8.873e-05/2.289, allocations: 334.8 kB / 1.704 GB, free: 14.52 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.806e-05/2.289, allocations: 31.98 kB / 1.704 GB, free: 14.49 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.667e-05/2.289, allocations: 91.72 kB / 1.705 GB, free: 14.38 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/2.289, allocations: 55.89 kB / 1.705 GB, free: 14.32 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/2.289, allocations: 0 / 1.705 GB, free: 14.32 MB / 1.12 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003065/2.289, allocations: 157.3 kB / 1.705 GB, free: 14.16 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/2.289, allocations: 4 kB / 1.705 GB, free: 14.16 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/2.289, allocations: 4 kB / 1.705 GB, free: 14.15 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/2.289, allocations: 0 / 1.705 GB, free: 14.15 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/2.289, allocations: 44.03 kB / 1.705 GB, free: 14.11 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/2.289, allocations: 0 / 1.705 GB, free: 14.11 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/2.29, allocations: 39.81 kB / 1.705 GB, free: 14.07 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/2.29, allocations: 12 kB / 1.705 GB, free: 14.06 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 6.879e-05/2.29, allocations: 105 kB / 1.705 GB, free: 13.95 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/2.29, allocations: 23.7 kB / 1.705 GB, free: 13.93 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000424/2.29, allocations: 183.3 kB / 1.705 GB, free: 13.74 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/2.29, allocations: 7.984 kB / 1.705 GB, free: 13.73 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/2.29, allocations: 3.938 kB / 1.705 GB, free: 13.73 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/2.29, allocations: 0 / 1.705 GB, free: 13.73 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007407/2.291, allocations: 0.5566 MB / 1.706 GB, free: 13.11 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/2.291, allocations: 0 / 1.706 GB, free: 13.11 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/2.291, allocations: 44.09 kB / 1.706 GB, free: 13.07 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/2.291, allocations: 0 / 1.706 GB, free: 13.07 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/2.291, allocations: 7.906 kB / 1.706 GB, free: 13.06 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/2.291, allocations: 4 kB / 1.706 GB, free: 13.06 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/2.291, allocations: 3.938 kB / 1.706 GB, free: 13.05 MB / 1.12 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004141/2.292, allocations: 438.4 kB / 1.706 GB, free: 12.57 MB / 1.12 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005062/2.292, allocations: 0.8178 MB / 1.707 GB, free: 11.69 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-05/2.292, allocations: 112.8 kB / 1.707 GB, free: 11.56 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/2.292, allocations: 4.234 kB / 1.707 GB, free: 11.55 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/2.293, allocations: 39.95 kB / 1.707 GB, free: 11.52 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/2.293, allocations: 15.97 kB / 1.707 GB, free: 11.5 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/2.293, allocations: 11.91 kB / 1.707 GB, free: 11.49 MB / 1.12 GB Notification: Performance of sort global known variables: time 9.449e-05/2.293, allocations: 144.5 kB / 1.707 GB, free: 11.35 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.001014/2.294, allocations: 119.8 kB / 1.707 GB, free: 11.23 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0004985/2.294, allocations: 294 kB / 1.708 GB, free: 10.95 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0002196/2.295, allocations: 107.9 kB / 1.708 GB, free: 10.84 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/2.295, allocations: 0 / 1.708 GB, free: 10.84 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/2.295, allocations: 84.03 kB / 1.708 GB, free: 10.76 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004966/2.295, allocations: 79.55 kB / 1.708 GB, free: 10.69 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006061/2.296, allocations: 351.3 kB / 1.708 GB, free: 10.31 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003889/2.296, allocations: 0.8097 MB / 1.709 GB, free: 9.477 MB / 1.12 GB Notification: Performance of SimCode: time 1.563e-06/2.296, allocations: 0 / 1.709 GB, free: 9.477 MB / 1.12 GB (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)