Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example4,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example4",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.7166/0.7166, allocations: 141.8 MB / 149.1 MB, free: 3.684 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.001057/0.001057, allocations: 186.9 kB / 181.9 MB, free: 15.43 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.312/1.312, allocations: 221.3 MB / 436 MB, free: 8.562 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.001115/0.001116, allocations: 95.06 kB / 0.507 GB, free: 24.37 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001912/0.001913, allocations: 270.4 kB / 0.5884 GB, free: 11.65 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1674/0.1693, allocations: 89.65 MB / 0.676 GB, free: 1.922 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.529, allocations: 82.76 MB / 0.7568 GB, free: 112.2 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.485/4.014, allocations: 1.911 GB / 2.668 GB, free: 146 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/4.014, allocations: 91.94 kB / 2.668 GB, free: 145.9 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 4.741/8.756, allocations: 1.473 GB / 4.141 GB, free: 16.88 MB / 0.7294 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/8.756, allocations: 15.98 kB / 4.141 GB, free: 16.86 MB / 0.7294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003959/8.76, allocations: 0.5405 MB / 4.141 GB, free: 16.32 MB / 0.7294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004231/8.764, allocations: 1.235 MB / 4.143 GB, free: 15.03 MB / 0.7294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009847/8.765, allocations: 265.8 kB / 4.143 GB, free: 14.77 MB / 0.7294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003212/8.765, allocations: 60 kB / 4.143 GB, free: 14.71 MB / 0.7294 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00176/8.767, allocations: 0.7302 MB / 4.144 GB, free: 13.98 MB / 0.7294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/8.769, allocations: 1.068 MB / 4.145 GB, free: 12.81 MB / 0.7294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/8.769, allocations: 7.938 kB / 4.145 GB, free: 12.8 MB / 0.7294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/8.769, allocations: 4 kB / 4.145 GB, free: 12.8 MB / 0.7294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.946e-05/8.769, allocations: 45.98 kB / 4.145 GB, free: 12.75 MB / 0.7294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008947/8.778, allocations: 6.525 MB / 4.151 GB, free: 5.809 MB / 0.7294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000708/8.779, allocations: 456.6 kB / 4.152 GB, free: 5.336 MB / 0.7294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/8.779, allocations: 189.3 kB / 4.152 GB, free: 5.148 MB / 0.7294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004715/8.78, allocations: 376.6 kB / 4.152 GB, free: 4.707 MB / 0.7294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/8.78, allocations: 42.83 kB / 4.152 GB, free: 4.656 MB / 0.7294 GB Notification: Performance of pre-optimization done (n=33): time 4.448e-06/8.78, allocations: 4 kB / 4.152 GB, free: 4.652 MB / 0.7294 GB Notification: Performance of matching and sorting (n=33): time 0.001643/8.782, allocations: 0.514 MB / 4.153 GB, free: 4.133 MB / 0.7294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/8.782, allocations: 59.41 kB / 4.153 GB, free: 4.062 MB / 0.7294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/8.783, allocations: 0.8344 MB / 4.154 GB, free: 3.219 MB / 0.7294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/8.783, allocations: 25.7 kB / 4.154 GB, free: 3.188 MB / 0.7294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/8.783, allocations: 0.5172 MB / 4.154 GB, free: 2.66 MB / 0.7294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/8.784, allocations: 114.4 kB / 4.154 GB, free: 2.547 MB / 0.7294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/8.784, allocations: 0 / 4.154 GB, free: 2.547 MB / 0.7294 GB Notification: Performance of setup shared object (initialization): time 7.561e-05/8.784, allocations: 333.9 kB / 4.155 GB, free: 2.215 MB / 0.7294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/8.784, allocations: 197.2 kB / 4.155 GB, free: 2.02 MB / 0.7294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004447/8.784, allocations: 0.5598 MB / 4.155 GB, free: 1.289 MB / 0.7294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005862/8.785, allocations: 310 kB / 4.156 GB, free: 0.9883 MB / 0.7294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/8.785, allocations: 4 kB / 4.156 GB, free: 0.9844 MB / 0.7294 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001333/8.786, allocations: 0.766 MB / 4.156 GB, free: 216 kB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 0.001562/8.788, allocations: 4.084 MB / 4.16 GB, free: 11.8 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/8.788, allocations: 12 kB / 4.16 GB, free: 11.79 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.465e-05/8.788, allocations: 16 kB / 4.16 GB, free: 11.78 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/8.789, allocations: 219.7 kB / 4.161 GB, free: 11.56 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.128e-05/8.789, allocations: 15.94 kB / 4.161 GB, free: 11.55 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/8.791, allocations: 187.2 kB / 4.161 GB, free: 11.36 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/8.791, allocations: 47.98 kB / 4.161 GB, free: 11.32 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/8.791, allocations: 4 kB / 4.161 GB, free: 11.31 MB / 0.745 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00128/8.792, allocations: 0.621 MB / 4.161 GB, free: 10.69 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/8.792, allocations: 12 kB / 4.161 GB, free: 10.68 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/8.792, allocations: 19.91 kB / 4.161 GB, free: 10.66 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008864/8.793, allocations: 215.9 kB / 4.162 GB, free: 10.45 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/8.793, allocations: 19.92 kB / 4.162 GB, free: 10.43 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/8.794, allocations: 155.4 kB / 4.162 GB, free: 10.28 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.843e-05/8.795, allocations: 43.98 kB / 4.162 GB, free: 10.23 MB / 0.745 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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 0.0002058/8.795, allocations: 136.7 kB / 4.162 GB, free: 10.09 MB / 0.745 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/8.795, allocations: 110.6 kB / 4.162 GB, free: 9.984 MB / 0.745 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/8.796, allocations: 0.4978 MB / 4.163 GB, free: 9.473 MB / 0.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/8.796, allocations: 7.906 kB / 4.163 GB, free: 9.465 MB / 0.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/8.796, allocations: 3.984 kB / 4.163 GB, free: 9.461 MB / 0.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/8.796, allocations: 4 kB / 4.163 GB, free: 9.457 MB / 0.745 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00353/8.8, allocations: 1.675 MB / 4.164 GB, free: 7.684 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/8.8, allocations: 4.469 kB / 4.164 GB, free: 7.68 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005945/8.8, allocations: 119.8 kB / 4.164 GB, free: 7.562 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.546e-05/8.8, allocations: 4 kB / 4.164 GB, free: 7.559 MB / 0.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/8.8, allocations: 7.938 kB / 4.164 GB, free: 7.551 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.826e-06/8.8, allocations: 11.91 kB / 4.164 GB, free: 7.539 MB / 0.745 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/8.8, allocations: 11.92 kB / 4.164 GB, free: 7.527 MB / 0.745 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001271/8.802, allocations: 0.8419 MB / 4.165 GB, free: 6.555 MB / 0.745 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002049/8.804, allocations: 1.428 MB / 4.167 GB, free: 4.992 MB / 0.745 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007178/8.805, allocations: 255.5 kB / 4.167 GB, free: 4.723 MB / 0.745 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004818/8.805, allocations: 4 kB / 4.167 GB, free: 4.719 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/8.806, allocations: 123.8 kB / 4.167 GB, free: 4.598 MB / 0.745 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/8.806, allocations: 31.81 kB / 4.167 GB, free: 4.566 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.004e-05/8.807, allocations: 23.97 kB / 4.167 GB, free: 4.543 MB / 0.745 GB Notification: Performance of sort global known variables: time 0.001203/8.808, allocations: 0.6163 MB / 4.168 GB, free: 3.922 MB / 0.745 GB Notification: Performance of remove unused functions: time 0.007113/8.815, allocations: 1.647 MB / 4.169 GB, free: 2.273 MB / 0.745 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 0.3859/9.201, allocations: 3.506 MB / 4.173 GB, free: 129.6 MB / 0.745 GB Notification: Performance of simCode: created initialization part: time 0.001561/9.202, allocations: 0.83 MB / 4.173 GB, free: 129.6 MB / 0.745 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/9.202, allocations: 3.594 kB / 4.173 GB, free: 129.6 MB / 0.745 GB Notification: Performance of simCode: created simulation system equations: time 0.000274/9.203, allocations: 184.1 kB / 4.174 GB, free: 129.6 MB / 0.745 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/9.205, allocations: 376.3 kB / 4.174 GB, free: 129.6 MB / 0.745 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/9.21, allocations: 1.671 MB / 4.176 GB, free: 129.1 MB / 0.745 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008999/9.211, allocations: 1.311 MB / 4.177 GB, free: 128.4 MB / 0.745 GB Notification: Performance of SimCode: time 6.21e-07/9.211, allocations: 0 / 4.177 GB, free: 128.4 MB / 0.745 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example4.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe 2>&1)