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: translateModel(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") translateModel(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") [: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.7712/0.7712, allocations: 141.8 MB / 149.1 MB, free: 8.113 MB / 126.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 181.6 kB / 181.9 MB, free: 1.91 MB / 142.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 221.4 MB / 436 MB, free: 12.73 MB / 334.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 92.41 kB / 0.507 GB, free: 23.99 MB / 398.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001766/0.001766, allocations: 285.6 kB / 0.5884 GB, free: 15.47 MB / 446.2 MB Notification: Performance of FrontEnd - loaded program: time 7.775e-06/7.805e-06, allocations: 0 / 0.6759 GB, free: 5.852 MB / 0.5139 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4497/0.4497, allocations: 82.78 MB / 0.7567 GB, free: 116 MB / 0.5295 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6937/1.144, allocations: 335.2 MB / 1.084 GB, free: 3.848 MB / 0.6077 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/1.144, allocations: 83.08 kB / 1.084 GB, free: 3.805 MB / 0.6077 GB Notification: Performance of FrontEnd: time 0.1555/1.299, allocations: 73.58 MB / 1.156 GB, free: 2.004 MB / 0.6702 GB Notification: Performance of Transformations before backend: time 2.275e-05/1.299, allocations: 7.984 kB / 1.156 GB, free: 1.996 MB / 0.6702 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.0007266/1.3, allocations: 465.8 kB / 1.156 GB, free: 1.496 MB / 0.6702 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/1.3, allocations: 11.97 kB / 1.156 GB, free: 1.484 MB / 0.6702 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.822e-05/1.3, allocations: 19.81 kB / 1.156 GB, free: 1.465 MB / 0.6702 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/1.301, allocations: 243.5 kB / 1.157 GB, free: 1.188 MB / 0.6702 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/1.301, allocations: 4 kB / 1.157 GB, free: 1.184 MB / 0.6702 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/1.301, allocations: 11.98 kB / 1.157 GB, free: 1.172 MB / 0.6702 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001641/1.301, allocations: 52 kB / 1.157 GB, free: 1.121 MB / 0.6702 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/1.301, allocations: 115.3 kB / 1.157 GB, free: 0.9961 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.515e-06/1.301, allocations: 3.938 kB / 1.157 GB, free: 0.9922 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/1.301, allocations: 0 / 1.157 GB, free: 0.9922 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/1.301, allocations: 4 kB / 1.157 GB, free: 0.9883 MB / 0.6702 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007813/1.302, allocations: 0.4978 MB / 1.157 GB, free: 464 kB / 0.6702 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/1.302, allocations: 69.2 kB / 1.157 GB, free: 376 kB / 0.6702 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.909e-05/1.302, allocations: 45.81 kB / 1.158 GB, free: 324 kB / 0.6702 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003405/1.302, allocations: 344.4 kB / 1.158 GB, free: 15.91 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/1.302, allocations: 34.5 kB / 1.158 GB, free: 15.86 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/1.302, allocations: 0 / 1.158 GB, free: 15.86 MB / 0.6858 GB Notification: Performance of matching and sorting (n=7): time 0.0003734/1.303, allocations: 89.58 kB / 1.158 GB, free: 15.77 MB / 0.6858 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/1.303, allocations: 77.11 kB / 1.158 GB, free: 15.68 MB / 0.6858 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/1.303, allocations: 137.5 kB / 1.158 GB, free: 15.54 MB / 0.6858 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/1.303, allocations: 29.73 kB / 1.158 GB, free: 15.5 MB / 0.6858 GB Notification: Performance of collectInitialEqns (initialization): time 6.563e-05/1.303, allocations: 112 kB / 1.158 GB, free: 15.39 MB / 0.6858 GB Notification: Performance of collectInitialBindings (initialization): time 9.36e-05/1.303, allocations: 23.66 kB / 1.158 GB, free: 15.36 MB / 0.6858 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-06/1.303, allocations: 0 / 1.158 GB, free: 15.36 MB / 0.6858 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.303, allocations: 326.7 kB / 1.159 GB, free: 15.04 MB / 0.6858 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.001e-05/1.303, allocations: 19.94 kB / 1.159 GB, free: 15.02 MB / 0.6858 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.438e-05/1.304, allocations: 65.12 kB / 1.159 GB, free: 14.93 MB / 0.6858 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/1.304, allocations: 31.98 kB / 1.159 GB, free: 14.9 MB / 0.6858 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/1.304, allocations: 0 / 1.159 GB, free: 14.9 MB / 0.6858 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002472/1.304, allocations: 101.5 kB / 1.159 GB, free: 14.8 MB / 0.6858 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/1.304, allocations: 4 kB / 1.159 GB, free: 14.79 MB / 0.6858 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.304, allocations: 0 / 1.159 GB, free: 14.79 MB / 0.6858 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/1.304, allocations: 7.891 kB / 1.159 GB, free: 14.79 MB / 0.6858 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/1.304, allocations: 31.98 kB / 1.159 GB, free: 14.75 MB / 0.6858 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/1.304, allocations: 0 / 1.159 GB, free: 14.75 MB / 0.6858 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/1.304, allocations: 15.98 kB / 1.159 GB, free: 14.74 MB / 0.6858 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/1.304, allocations: 4 kB / 1.159 GB, free: 14.73 MB / 0.6858 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 8.034e-05/1.304, allocations: 109.9 kB / 1.159 GB, free: 14.62 MB / 0.6858 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-05/1.305, allocations: 19.81 kB / 1.159 GB, free: 14.6 MB / 0.6858 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003457/1.305, allocations: 130.6 kB / 1.159 GB, free: 14.47 MB / 0.6858 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/1.305, allocations: 0 / 1.159 GB, free: 14.47 MB / 0.6858 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.305, allocations: 0 / 1.159 GB, free: 14.47 MB / 0.6858 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/1.305, allocations: 3.906 kB / 1.159 GB, free: 14.46 MB / 0.6858 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005915/1.305, allocations: 433.5 kB / 1.16 GB, free: 13.99 MB / 0.6858 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/1.306, allocations: 0 / 1.16 GB, free: 13.99 MB / 0.6858 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/1.306, allocations: 27.97 kB / 1.16 GB, free: 13.96 MB / 0.6858 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/1.306, allocations: 0 / 1.16 GB, free: 13.96 MB / 0.6858 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/1.306, allocations: 4 kB / 1.16 GB, free: 13.96 MB / 0.6858 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.306, allocations: 0 / 1.16 GB, free: 13.96 MB / 0.6858 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/1.306, allocations: 6.203 kB / 1.16 GB, free: 13.95 MB / 0.6858 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003737/1.306, allocations: 364 kB / 1.16 GB, free: 13.55 MB / 0.6858 GB Notification: Performance of postOpt removeConstants (simulation): time 7.751e-05/1.306, allocations: 104.8 kB / 1.16 GB, free: 13.43 MB / 0.6858 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/1.306, allocations: 0 / 1.16 GB, free: 13.43 MB / 0.6858 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/1.306, allocations: 11.98 kB / 1.16 GB, free: 13.41 MB / 0.6858 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/1.306, allocations: 7.906 kB / 1.16 GB, free: 13.41 MB / 0.6858 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/1.306, allocations: 15.98 kB / 1.16 GB, free: 13.39 MB / 0.6858 GB Notification: Performance of sort global known variables: time 8.932e-05/1.307, allocations: 128.1 kB / 1.16 GB, free: 13.27 MB / 0.6858 GB Notification: Performance of remove unused functions: time 0.0004175/1.307, allocations: 60 kB / 1.16 GB, free: 13.21 MB / 0.6858 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.000529/1.307, allocations: 227.1 kB / 1.16 GB, free: 12.98 MB / 0.6858 GB Notification: Performance of simCode: created initialization part: time 0.0001754/1.308, allocations: 63.92 kB / 1.161 GB, free: 12.92 MB / 0.6858 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.308, allocations: 4 kB / 1.161 GB, free: 12.91 MB / 0.6858 GB Notification: Performance of simCode: created simulation system equations: time 9.971e-05/1.308, allocations: 48.17 kB / 1.161 GB, free: 12.87 MB / 0.6858 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/1.308, allocations: 56.17 kB / 1.161 GB, free: 12.81 MB / 0.6858 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/1.309, allocations: 223.7 kB / 1.161 GB, free: 12.55 MB / 0.6858 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003734/1.309, allocations: 0.743 MB / 1.162 GB, free: 11.79 MB / 0.6858 GB Notification: Performance of SimCode: time 4.2e-07/1.309, allocations: 3.938 kB / 1.162 GB, free: 11.78 MB / 0.6858 GB Notification: Performance of Templates: time 0.007237/1.316, allocations: 3.011 MB / 1.165 GB, free: 8.805 MB / 0.6858 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)