Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 183.8 kB / 7.803 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4485/0.4485, allocations: 90.84 MB / 99.07 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 221.4 MB / 342.8 MB, free: 5.418 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009521/0.0009521, allocations: 86.61 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1713/0.1723, allocations: 78.46 MB / 494 MB, free: 7.973 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.5709, allocations: 72.3 MB / 0.553 GB, free: 73.24 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.567/1.138, allocations: 328.7 MB / 0.874 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/1.138, allocations: 78.45 kB / 0.8741 GB, free: 12.75 MB / 0.5417 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.5495/1.688, allocations: 124.2 MB / 0.9953 GB, free: 201.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/1.688, allocations: 7.875 kB / 0.9953 GB, free: 201.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.193e-05/1.688, allocations: 38.66 kB / 0.9954 GB, free: 201.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/1.688, allocations: 314 kB / 0.9957 GB, free: 201.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/1.688, allocations: 3.688 kB / 0.9957 GB, free: 201.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/1.688, allocations: 15.5 kB / 0.9957 GB, free: 201.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002341/1.689, allocations: 114.2 kB / 0.9958 GB, free: 201.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/1.689, allocations: 201.7 kB / 0.996 GB, free: 201.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/1.689, allocations: 0 / 0.996 GB, free: 201.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/1.689, allocations: 3.531 kB / 0.996 GB, free: 201.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/1.689, allocations: 3.812 kB / 0.996 GB, free: 201.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009737/1.69, allocations: 0.7652 MB / 0.9967 GB, free: 200.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/1.69, allocations: 107.6 kB / 0.9969 GB, free: 200.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/1.69, allocations: 57.14 kB / 0.9969 GB, free: 200.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003533/1.691, allocations: 0.493 MB / 0.9974 GB, free: 200.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/1.691, allocations: 35.56 kB / 0.9974 GB, free: 200.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/1.691, allocations: 0.5938 kB / 0.9974 GB, free: 200.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0005336/1.691, allocations: 144.5 kB / 0.9976 GB, free: 200 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/1.691, allocations: 78.67 kB / 0.9976 GB, free: 199.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/1.691, allocations: 177.7 kB / 0.9978 GB, free: 199.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/1.692, allocations: 26.7 kB / 0.9978 GB, free: 199.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.396e-05/1.692, allocations: 154.8 kB / 0.998 GB, free: 199.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/1.692, allocations: 32.66 kB / 0.998 GB, free: 199.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/1.692, allocations: 0 / 0.998 GB, free: 199.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.177e-05/1.692, allocations: 335.2 kB / 0.9983 GB, free: 199.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.701e-05/1.692, allocations: 34.27 kB / 0.9984 GB, free: 199.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/1.692, allocations: 94.53 kB / 0.9984 GB, free: 199.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/1.692, allocations: 63.27 kB / 0.9985 GB, free: 199.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/1.692, allocations: 3.469 kB / 0.9985 GB, free: 199.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003738/1.693, allocations: 143.9 kB / 0.9987 GB, free: 199 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/1.693, allocations: 7.891 kB / 0.9987 GB, free: 199 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/1.693, allocations: 1.219 kB / 0.9987 GB, free: 199 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/1.693, allocations: 5.531 kB / 0.9987 GB, free: 199 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/1.693, allocations: 45.31 kB / 0.9987 GB, free: 199 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/1.693, allocations: 1.656 kB / 0.9987 GB, free: 199 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/1.693, allocations: 35.91 kB / 0.9987 GB, free: 199 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/1.693, allocations: 10.72 kB / 0.9988 GB, free: 199 MB / 0.6042 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 7.256e-05/1.693, allocations: 119.9 kB / 0.9989 GB, free: 198.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.152e-05/1.693, allocations: 17.94 kB / 0.9989 GB, free: 198.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004948/1.694, allocations: 189.1 kB / 0.9991 GB, free: 198.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/1.694, allocations: 2.594 kB / 0.9991 GB, free: 198.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.694, allocations: 0.5625 kB / 0.9991 GB, free: 198.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/1.694, allocations: 0.625 kB / 0.9991 GB, free: 198.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008317/1.695, allocations: 0.5462 MB / 0.9996 GB, free: 198.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.695, allocations: 1.656 kB / 0.9996 GB, free: 198.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/1.695, allocations: 41.44 kB / 0.9996 GB, free: 198.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/1.695, allocations: 2.25 kB / 0.9996 GB, free: 198.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/1.695, allocations: 2.406 kB / 0.9996 GB, free: 198.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/1.695, allocations: 5.938 kB / 0.9997 GB, free: 198.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.695, allocations: 6.375 kB / 0.9997 GB, free: 198.3 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005192/1.696, allocations: 436.3 kB / 1 GB, free: 197.9 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004924/1.696, allocations: 0.8158 MB / 1.001 GB, free: 197.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.222e-05/1.696, allocations: 113.2 kB / 1.001 GB, free: 197 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/1.696, allocations: 1.344 kB / 1.001 GB, free: 197 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/1.696, allocations: 35.88 kB / 1.001 GB, free: 197 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.533e-05/1.697, allocations: 20.88 kB / 1.001 GB, free: 197 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/1.697, allocations: 5.438 kB / 1.001 GB, free: 197 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001006/1.697, allocations: 145.2 kB / 1.001 GB, free: 196.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001173/1.698, allocations: 124.5 kB / 1.001 GB, free: 196.8 MB / 0.6042 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.0005676/1.698, allocations: 298.9 kB / 1.002 GB, free: 196.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002436/1.699, allocations: 118.9 kB / 1.002 GB, free: 196.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.699, allocations: 0 / 1.002 GB, free: 196.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/1.699, allocations: 82.41 kB / 1.002 GB, free: 196.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000544/1.699, allocations: 66.12 kB / 1.002 GB, free: 196.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006635/1.7, allocations: 364.7 kB / 1.002 GB, free: 196.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/1.7, allocations: 0.8035 MB / 1.003 GB, free: 195.6 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/1.7, allocations: 0 / 1.003 GB, free: 195.6 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)