Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7293/0.7293, allocations: 141.8 MB / 149.1 MB, free: 1.43 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 181.2 kB / 182 MB, free: 0.8438 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 221.3 MB / 436 MB, free: 5.586 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009055/0.0009054, allocations: 104.6 kB / 0.507 GB, free: 2.254 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001645/0.001645, allocations: 268.8 kB / 0.5884 GB, free: 47.34 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3805/0.3822, allocations: 89.63 MB / 0.676 GB, free: 59.77 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.5497, allocations: 82.78 MB / 0.7568 GB, free: 0.707 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6634/1.213, allocations: 335.2 MB / 1.084 GB, free: 4.297 MB / 0.6669 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/1.213, allocations: 85.69 kB / 1.084 GB, free: 4.254 MB / 0.6669 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.4557/1.669, allocations: 74.04 MB / 1.157 GB, free: 173.7 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.669, allocations: 8.75 kB / 1.157 GB, free: 173.7 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.008e-05/1.669, allocations: 19.62 kB / 1.157 GB, free: 173.7 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/1.67, allocations: 246.9 kB / 1.157 GB, free: 173.4 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/1.67, allocations: 3.875 kB / 1.157 GB, free: 173.4 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/1.67, allocations: 7.75 kB / 1.157 GB, free: 173.4 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001503/1.67, allocations: 55.3 kB / 1.157 GB, free: 173.4 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/1.67, allocations: 112 kB / 1.157 GB, free: 173.4 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/1.67, allocations: 0 / 1.157 GB, free: 173.4 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/1.67, allocations: 3.562 kB / 1.157 GB, free: 173.4 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/1.67, allocations: 7.812 kB / 1.157 GB, free: 173.4 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006446/1.671, allocations: 499.9 kB / 1.157 GB, free: 173 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/1.671, allocations: 77.17 kB / 1.158 GB, free: 173 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.588e-05/1.671, allocations: 43.66 kB / 1.158 GB, free: 173 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002325/1.671, allocations: 333.2 kB / 1.158 GB, free: 172.6 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/1.671, allocations: 36.66 kB / 1.158 GB, free: 172.6 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/1.671, allocations: 0 / 1.158 GB, free: 172.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=7): time 0.0003517/1.672, allocations: 100.2 kB / 1.158 GB, free: 172.5 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/1.672, allocations: 81.02 kB / 1.158 GB, free: 172.4 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.905e-05/1.672, allocations: 129.7 kB / 1.158 GB, free: 172.3 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/1.672, allocations: 25.7 kB / 1.158 GB, free: 172.3 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/1.672, allocations: 116.4 kB / 1.158 GB, free: 172.2 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/1.672, allocations: 26.33 kB / 1.158 GB, free: 172.2 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/1.672, allocations: 0 / 1.158 GB, free: 172.2 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 6.355e-05/1.672, allocations: 321.4 kB / 1.159 GB, free: 171.9 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.438e-05/1.672, allocations: 19.06 kB / 1.159 GB, free: 171.9 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.991e-05/1.672, allocations: 59.39 kB / 1.159 GB, free: 171.8 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/1.672, allocations: 39.88 kB / 1.159 GB, free: 171.8 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.672, allocations: 0 / 1.159 GB, free: 171.8 MB / 0.6982 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002034/1.672, allocations: 98.98 kB / 1.159 GB, free: 171.8 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/1.672, allocations: 11.66 kB / 1.159 GB, free: 171.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/1.672, allocations: 3.094 kB / 1.159 GB, free: 171.8 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/1.672, allocations: 0 / 1.159 GB, free: 171.8 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/1.672, allocations: 22.89 kB / 1.159 GB, free: 171.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/1.672, allocations: 3.938 kB / 1.159 GB, free: 171.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/1.673, allocations: 21.36 kB / 1.159 GB, free: 171.8 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/1.673, allocations: 6.547 kB / 1.159 GB, free: 171.8 MB / 0.6982 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 6.168e-05/1.673, allocations: 104.9 kB / 1.159 GB, free: 171.7 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/1.673, allocations: 18.5 kB / 1.159 GB, free: 171.7 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/1.673, allocations: 132.5 kB / 1.159 GB, free: 171.6 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/1.673, allocations: 7.75 kB / 1.159 GB, free: 171.6 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/1.673, allocations: 0 / 1.159 GB, free: 171.6 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/1.673, allocations: 3.844 kB / 1.159 GB, free: 171.6 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004704/1.674, allocations: 433.7 kB / 1.16 GB, free: 171.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.674, allocations: 0 / 1.16 GB, free: 171.3 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/1.674, allocations: 26.83 kB / 1.16 GB, free: 171.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.674, allocations: 0 / 1.16 GB, free: 171.3 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/1.674, allocations: 5.719 kB / 1.16 GB, free: 171.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/1.674, allocations: 240 / 1.16 GB, free: 171.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.674, allocations: 11.72 kB / 1.16 GB, free: 171.3 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002745/1.674, allocations: 357.9 kB / 1.16 GB, free: 171 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003423/1.674, allocations: 0.7415 MB / 1.161 GB, free: 170.3 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 5.698e-05/1.674, allocations: 99.88 kB / 1.161 GB, free: 170.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/1.674, allocations: 3.234 kB / 1.161 GB, free: 170.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/1.675, allocations: 18.86 kB / 1.161 GB, free: 170.2 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/1.675, allocations: 7.125 kB / 1.161 GB, free: 170.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/1.675, allocations: 11.2 kB / 1.161 GB, free: 170.2 MB / 0.6982 GB Notification: Performance of sort global known variables: time 5.627e-05/1.675, allocations: 113.9 kB / 1.161 GB, free: 170.1 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001034/1.676, allocations: 75.86 kB / 1.161 GB, free: 170.1 MB / 0.6982 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.0005051/1.676, allocations: 234.5 kB / 1.161 GB, free: 170 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0001495/1.677, allocations: 69.67 kB / 1.161 GB, free: 170 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.677, allocations: 0 / 1.161 GB, free: 170 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 7.695e-05/1.677, allocations: 50.72 kB / 1.161 GB, free: 170 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/1.677, allocations: 54.98 kB / 1.161 GB, free: 170 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004204/1.677, allocations: 213.5 kB / 1.162 GB, free: 169.9 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/1.678, allocations: 0.7534 MB / 1.162 GB, free: 169.2 MB / 0.6982 GB Notification: Performance of SimCode: time 4.51e-07/1.678, allocations: 0 / 1.162 GB, free: 169.2 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)