Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.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.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Static",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.7018/0.7018, allocations: 141.8 MB / 149.1 MB, free: 12.9 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.001047/0.001047, allocations: 183.9 kB / 181.9 MB, free: 9.582 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.352/1.352, allocations: 221.3 MB / 436 MB, free: 9.949 MB / 362.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 100.5 kB / 0.507 GB, free: 6.711 MB / 442.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001734/0.001734, allocations: 276.6 kB / 0.5884 GB, free: 98.54 MB / 458.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1626/0.1644, allocations: 89.64 MB / 0.676 GB, free: 9.188 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.5887, allocations: 82.77 MB / 0.7568 GB, free: 38.58 MB / 474.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1483/0.7371, allocations: 109.3 MB / 0.8636 GB, free: 14.62 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.7374, allocations: 79.88 kB / 0.8636 GB, free: 14.55 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.00941/0.7468, allocations: 3.048 MB / 0.8666 GB, free: 11.46 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/0.7469, allocations: 8 kB / 0.8666 GB, free: 11.45 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.11e-05/0.747, allocations: 18.44 kB / 0.8666 GB, free: 11.44 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.7472, allocations: 175 kB / 0.8668 GB, free: 11.23 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.7473, allocations: 67.33 kB / 0.8669 GB, free: 11.15 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.7473, allocations: 4 kB / 0.8669 GB, free: 11.14 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001983/0.7475, allocations: 91.98 kB / 0.867 GB, free: 11.05 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.7477, allocations: 87.11 kB / 0.867 GB, free: 10.96 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.7477, allocations: 4 kB / 0.867 GB, free: 10.96 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.7477, allocations: 0 / 0.867 GB, free: 10.96 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/0.7478, allocations: 4 kB / 0.8671 GB, free: 10.96 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007204/0.7485, allocations: 400.9 kB / 0.8674 GB, free: 10.53 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.7486, allocations: 62.48 kB / 0.8675 GB, free: 10.46 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.025e-05/0.7487, allocations: 24.89 kB / 0.8675 GB, free: 10.43 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005722/0.7493, allocations: 323.3 kB / 0.8678 GB, free: 10.06 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.7493, allocations: 37 kB / 0.8679 GB, free: 10.02 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.7493, allocations: 0 / 0.8679 GB, free: 10.02 MB / 0.5419 GB Notification: Performance of matching and sorting (n=7): time 0.0007665/0.7501, allocations: 170.3 kB / 0.868 GB, free: 9.844 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.7501, allocations: 55.41 kB / 0.8681 GB, free: 9.777 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.7503, allocations: 113 kB / 0.8682 GB, free: 9.66 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.7503, allocations: 25.7 kB / 0.8682 GB, free: 9.629 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 7.158e-05/0.7504, allocations: 115.6 kB / 0.8683 GB, free: 9.508 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.7504, allocations: 23.66 kB / 0.8683 GB, free: 9.484 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/0.7504, allocations: 0 / 0.8683 GB, free: 9.484 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.7506, allocations: 318.8 kB / 0.8686 GB, free: 9.164 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.7507, allocations: 27.94 kB / 0.8687 GB, free: 9.137 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.686e-05/0.7507, allocations: 27.72 kB / 0.8687 GB, free: 9.113 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.7509, allocations: 59.92 kB / 0.8688 GB, free: 9.055 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.7509, allocations: 4 kB / 0.8688 GB, free: 9.051 MB / 0.5419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005929/0.7515, allocations: 178.3 kB / 0.8689 GB, free: 8.867 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.7516, allocations: 12 kB / 0.8689 GB, free: 8.855 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.7516, allocations: 3.938 kB / 0.8689 GB, free: 8.852 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004819/0.7521, allocations: 64.8 kB / 0.869 GB, free: 8.785 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.44e-05/0.7522, allocations: 19.98 kB / 0.869 GB, free: 8.766 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/0.7541, allocations: 1.492 MB / 0.8705 GB, free: 7.16 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.801e-05/0.7542, allocations: 11.91 kB / 0.8705 GB, free: 7.148 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.7542, allocations: 4 kB / 0.8705 GB, free: 7.145 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.7543, allocations: 107 kB / 0.8706 GB, free: 7.035 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.7544, allocations: 11.89 kB / 0.8706 GB, free: 7.023 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006356/0.755, allocations: 186.1 kB / 0.8708 GB, free: 6.836 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.755, allocations: 4 kB / 0.8708 GB, free: 6.832 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.7551, allocations: 0 / 0.8708 GB, free: 6.832 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.7551, allocations: 3.984 kB / 0.8708 GB, free: 6.828 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007982/0.7559, allocations: 420.7 kB / 0.8712 GB, free: 6.367 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.7559, allocations: 7.938 kB / 0.8712 GB, free: 6.359 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.7559, allocations: 5.875 kB / 0.8712 GB, free: 6.355 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003869/0.7563, allocations: 68.83 kB / 0.8713 GB, free: 6.285 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.7564, allocations: 4 kB / 0.8713 GB, free: 6.281 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/0.7581, allocations: 1.486 MB / 0.8727 GB, free: 4.68 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7581, allocations: 8.062 kB / 0.8727 GB, free: 4.672 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006259/0.7587, allocations: 281.5 kB / 0.873 GB, free: 4.371 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007168/0.7594, allocations: 0.6553 MB / 0.8736 GB, free: 3.684 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.7595, allocations: 85.02 kB / 0.8737 GB, free: 3.582 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.7595, allocations: 0 / 0.8737 GB, free: 3.582 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.628e-05/0.7596, allocations: 8 kB / 0.8737 GB, free: 3.574 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.7597, allocations: 7.984 kB / 0.8737 GB, free: 3.566 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.7597, allocations: 4 kB / 0.8737 GB, free: 3.562 MB / 0.5419 GB Notification: Performance of sort global known variables: time 5.742e-05/0.7598, allocations: 95.2 kB / 0.8738 GB, free: 3.469 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0009614/0.7607, allocations: 68.53 kB / 0.8739 GB, free: 3.402 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 3 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002465/0.761, allocations: 151.1 kB / 0.874 GB, free: 3.246 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.000469/0.7615, allocations: 177.8 kB / 0.8742 GB, free: 3.062 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.7615, allocations: 0 / 0.8742 GB, free: 3.062 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.7618, allocations: 157.6 kB / 0.8744 GB, free: 2.898 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.762, allocations: 8.844 kB / 0.8744 GB, free: 2.891 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.7625, allocations: 132.9 kB / 0.8745 GB, free: 2.727 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/0.7628, allocations: 0.7146 MB / 0.8752 GB, free: 1.988 MB / 0.5419 GB Notification: Performance of SimCode: time 2.61e-07/0.7628, allocations: 4 kB / 0.8752 GB, free: 1.984 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Static_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Static.fmu > BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe 2>&1)