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: translateModel(IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") translateModel(IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 187.6 kB / 7.805 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4515/0.4515, allocations: 90.86 MB / 99.08 MB, free: 14.96 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.218/1.218, allocations: 221.4 MB / 342.8 MB, free: 5.211 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.000925/0.0009251, allocations: 93.89 kB / 415.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.22e-06/5.26e-06, allocations: 0 / 493.9 MB, free: 8.105 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.414, allocations: 72.3 MB / 0.5529 GB, free: 73.29 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.61/1.024, allocations: 328.7 MB / 0.8739 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/1.024, allocations: 84.98 kB / 0.874 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of FrontEnd: time 0.5349/1.559, allocations: 123.6 MB / 0.9947 GB, free: 201.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.912e-05/1.559, allocations: 11.44 kB / 0.9947 GB, free: 201.5 MB / 0.6042 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.001143/1.56, allocations: 0.5863 MB / 0.9952 GB, free: 201 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/1.561, allocations: 12.45 kB / 0.9952 GB, free: 201 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/1.561, allocations: 37.34 kB / 0.9953 GB, free: 201 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005541/1.561, allocations: 307.3 kB / 0.9956 GB, free: 200.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/1.561, allocations: 10.8 kB / 0.9956 GB, free: 200.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.907e-05/1.561, allocations: 14.41 kB / 0.9956 GB, free: 200.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002928/1.562, allocations: 115.2 kB / 0.9957 GB, free: 200.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003573/1.562, allocations: 190.7 kB / 0.9959 GB, free: 200.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/1.562, allocations: 3.188 kB / 0.9959 GB, free: 200.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/1.562, allocations: 0 / 0.9959 GB, free: 200.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/1.562, allocations: 3.75 kB / 0.9959 GB, free: 200.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/1.563, allocations: 0.7844 MB / 0.9967 GB, free: 199.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/1.563, allocations: 101.7 kB / 0.9968 GB, free: 199.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.57e-05/1.564, allocations: 53.36 kB / 0.9968 GB, free: 199.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003515/1.564, allocations: 0.4983 MB / 0.9973 GB, free: 199.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/1.564, allocations: 38.5 kB / 0.9973 GB, free: 199.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 2.033e-06/1.564, allocations: 0 / 0.9973 GB, free: 199.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0004953/1.564, allocations: 136.5 kB / 0.9975 GB, free: 199.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/1.565, allocations: 80.7 kB / 0.9975 GB, free: 199 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/1.565, allocations: 175.9 kB / 0.9977 GB, free: 198.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/1.565, allocations: 29.05 kB / 0.9977 GB, free: 198.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/1.565, allocations: 146.5 kB / 0.9979 GB, free: 198.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/1.565, allocations: 39.58 kB / 0.9979 GB, free: 198.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-06/1.565, allocations: 1.062 kB / 0.9979 GB, free: 198.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.067e-05/1.565, allocations: 335.5 kB / 0.9982 GB, free: 198.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.025e-05/1.565, allocations: 36.75 kB / 0.9983 GB, free: 198.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.754e-05/1.565, allocations: 100.4 kB / 0.9984 GB, free: 198.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/1.565, allocations: 53.36 kB / 0.9984 GB, free: 198.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.565, allocations: 0 / 0.9984 GB, free: 198.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003395/1.566, allocations: 153.5 kB / 0.9986 GB, free: 198.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/1.566, allocations: 7.031 kB / 0.9986 GB, free: 198.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/1.566, allocations: 0 / 0.9986 GB, free: 198.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/1.566, allocations: 5.969 kB / 0.9986 GB, free: 198.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/1.566, allocations: 43.22 kB / 0.9986 GB, free: 198.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/1.566, allocations: 1.906 kB / 0.9986 GB, free: 198.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/1.566, allocations: 31.25 kB / 0.9987 GB, free: 198.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/1.566, allocations: 11.98 kB / 0.9987 GB, free: 198.1 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.366e-05/1.566, allocations: 114.4 kB / 0.9988 GB, free: 198 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.607e-05/1.566, allocations: 18.22 kB / 0.9988 GB, free: 198 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004066/1.567, allocations: 184.4 kB / 0.999 GB, free: 197.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/1.567, allocations: 3.75 kB / 0.999 GB, free: 197.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.567, allocations: 0 / 0.999 GB, free: 197.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/1.567, allocations: 6.188 kB / 0.999 GB, free: 197.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007664/1.568, allocations: 0.5472 MB / 0.9995 GB, free: 197.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/1.568, allocations: 0 / 0.9995 GB, free: 197.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/1.568, allocations: 47.94 kB / 0.9996 GB, free: 197.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/1.568, allocations: 5.344 kB / 0.9996 GB, free: 197.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/1.568, allocations: 2.531 kB / 0.9996 GB, free: 197.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/1.568, allocations: 2.062 kB / 0.9996 GB, free: 197.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.568, allocations: 7.266 kB / 0.9996 GB, free: 197.4 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004241/1.568, allocations: 434.1 kB / 1 GB, free: 197 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.164e-05/1.568, allocations: 116.5 kB / 1 GB, free: 196.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/1.568, allocations: 3.469 kB / 1 GB, free: 196.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/1.569, allocations: 32.44 kB / 1 GB, free: 196.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/1.569, allocations: 13.83 kB / 1 GB, free: 196.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/1.569, allocations: 7.281 kB / 1 GB, free: 196.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.866e-05/1.569, allocations: 142.3 kB / 1 GB, free: 196.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005629/1.57, allocations: 111.8 kB / 1 GB, free: 196.7 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.0006331/1.57, allocations: 293.6 kB / 1.001 GB, free: 196.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002525/1.57, allocations: 116.2 kB / 1.001 GB, free: 196.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.57, allocations: 0 / 1.001 GB, free: 196.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/1.571, allocations: 84.22 kB / 1.001 GB, free: 196.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005918/1.571, allocations: 65.38 kB / 1.001 GB, free: 196.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007356/1.572, allocations: 354 kB / 1.001 GB, free: 196.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/1.572, allocations: 0.8056 MB / 1.002 GB, free: 195.4 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/1.572, allocations: 3.312 kB / 1.002 GB, free: 195.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.009272/1.582, allocations: 4.661 MB / 1.007 GB, free: 193.3 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)