Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.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.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",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.7142/0.7142, allocations: 141.8 MB / 149.1 MB, free: 13.02 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001096, allocations: 186.5 kB / 181.9 MB, free: 9.707 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.288/1.288, allocations: 221.4 MB / 436 MB, free: 2.105 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.0009999/0.001, allocations: 102.8 kB / 0.507 GB, free: 17.71 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00188/0.001881, allocations: 265.6 kB / 0.5884 GB, free: 3.676 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4652/0.4671, allocations: 89.64 MB / 0.676 GB, free: 136.4 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.649, allocations: 82.78 MB / 0.7568 GB, free: 82.87 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1262/0.7753, allocations: 107 MB / 0.8613 GB, free: 7.719 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.7756, allocations: 69.78 kB / 0.8614 GB, free: 7.652 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001564/0.7772, allocations: 486.5 kB / 0.8618 GB, free: 7.133 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.7772, allocations: 15.94 kB / 0.8618 GB, free: 7.117 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.7773, allocations: 7.891 kB / 0.8619 GB, free: 7.109 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.7776, allocations: 175.1 kB / 0.862 GB, free: 6.898 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.7776, allocations: 0 / 0.862 GB, free: 6.898 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.7776, allocations: 4 kB / 0.862 GB, free: 6.895 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.36e-05/0.7777, allocations: 11.92 kB / 0.862 GB, free: 6.883 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.738e-05/0.7777, allocations: 29.7 kB / 0.8621 GB, free: 6.848 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.7777, allocations: 0 / 0.8621 GB, free: 6.848 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.7778, allocations: 11.83 kB / 0.8621 GB, free: 6.836 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.7778, allocations: 4 kB / 0.8621 GB, free: 6.832 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.7779, allocations: 134.2 kB / 0.8622 GB, free: 6.664 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.215e-05/0.778, allocations: 22.59 kB / 0.8622 GB, free: 6.633 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.261e-05/0.778, allocations: 8.922 kB / 0.8622 GB, free: 6.621 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.778, allocations: 0 / 0.8622 GB, free: 6.621 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.778, allocations: 30.56 kB / 0.8623 GB, free: 6.582 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.778, allocations: 3.938 kB / 0.8623 GB, free: 6.578 MB / 0.5419 GB Notification: Performance of matching and sorting (n=1): time 0.0001323/0.7782, allocations: 45.59 kB / 0.8623 GB, free: 6.527 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.7782, allocations: 51.41 kB / 0.8624 GB, free: 6.465 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.635e-05/0.7783, allocations: 105 kB / 0.8625 GB, free: 6.355 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.7783, allocations: 25.7 kB / 0.8625 GB, free: 6.324 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.459e-05/0.7784, allocations: 80.14 kB / 0.8626 GB, free: 6.242 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.7784, allocations: 4 kB / 0.8626 GB, free: 6.238 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-06/0.7784, allocations: 0 / 0.8626 GB, free: 6.238 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.7785, allocations: 314.9 kB / 0.8629 GB, free: 5.922 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.137e-05/0.7786, allocations: 4 kB / 0.8629 GB, free: 5.918 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.404e-05/0.7786, allocations: 17.7 kB / 0.8629 GB, free: 5.895 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.103e-05/0.7786, allocations: 7.906 kB / 0.8629 GB, free: 5.887 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.7786, allocations: 0 / 0.8629 GB, free: 5.887 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.836e-05/0.7787, allocations: 49.62 kB / 0.8629 GB, free: 5.832 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.7787, allocations: 8 kB / 0.863 GB, free: 5.824 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.7787, allocations: 4.125 kB / 0.863 GB, free: 5.82 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.7788, allocations: 0 / 0.863 GB, free: 5.82 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.943e-05/0.7788, allocations: 4 kB / 0.863 GB, free: 5.816 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.7788, allocations: 3.984 kB / 0.863 GB, free: 5.812 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.397e-05/0.7789, allocations: 0 / 0.863 GB, free: 5.812 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.7789, allocations: 4 kB / 0.863 GB, free: 5.809 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.94e-05/0.7789, allocations: 104.9 kB / 0.8631 GB, free: 5.699 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.775e-06/0.779, allocations: 0 / 0.8631 GB, free: 5.699 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.7791, allocations: 56.78 kB / 0.8631 GB, free: 5.637 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.7791, allocations: 0 / 0.8631 GB, free: 5.637 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.7791, allocations: 0 / 0.8631 GB, free: 5.637 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.7791, allocations: 3.906 kB / 0.8631 GB, free: 5.633 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.516e-05/0.7792, allocations: 134.2 kB / 0.8633 GB, free: 5.465 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.7792, allocations: 7.938 kB / 0.8633 GB, free: 5.457 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.912e-05/0.7793, allocations: 0 / 0.8633 GB, free: 5.457 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.7793, allocations: 3.984 kB / 0.8633 GB, free: 5.453 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.7793, allocations: 4 kB / 0.8633 GB, free: 5.449 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.7793, allocations: 0 / 0.8633 GB, free: 5.449 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7793, allocations: 0 / 0.8633 GB, free: 5.449 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001038/0.7794, allocations: 81 kB / 0.8633 GB, free: 5.352 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002406/0.7797, allocations: 465.7 kB / 0.8638 GB, free: 4.875 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.7797, allocations: 81.14 kB / 0.8639 GB, free: 4.777 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.7797, allocations: 12.08 kB / 0.8639 GB, free: 4.766 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.402e-05/0.7798, allocations: 4 kB / 0.8639 GB, free: 4.762 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.355e-05/0.7798, allocations: 0 / 0.8639 GB, free: 4.762 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-06/0.7798, allocations: 4 kB / 0.8639 GB, free: 4.758 MB / 0.5419 GB Notification: Performance of sort global known variables: time 4.567e-05/0.7798, allocations: 83.28 kB / 0.864 GB, free: 4.676 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0007974/0.7806, allocations: 4 kB / 0.864 GB, free: 4.672 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001378/0.7808, allocations: 99.23 kB / 0.8641 GB, free: 4.562 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 7.4e-05/0.7809, allocations: 19.94 kB / 0.8641 GB, free: 4.543 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7809, allocations: 4.125 kB / 0.8641 GB, free: 4.539 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-05/0.7809, allocations: 7.984 kB / 0.8641 GB, free: 4.531 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001086/0.781, allocations: 0 / 0.8641 GB, free: 4.531 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002259/0.7812, allocations: 68.27 kB / 0.8642 GB, free: 4.441 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002985/0.7816, allocations: 0.6919 MB / 0.8648 GB, free: 3.723 MB / 0.5419 GB Notification: Performance of SimCode: time 2.6e-07/0.7816, allocations: 0 / 0.8648 GB, free: 3.723 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1)