Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.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_Dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Dynamic",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.7226/0.7226, allocations: 141.8 MB / 149.1 MB, free: 13.24 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.001121/0.001121, allocations: 191.8 kB / 181.9 MB, free: 9.902 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.35/1.35, allocations: 221.4 MB / 436 MB, free: 2.438 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.0009966/0.0009966, allocations: 102.5 kB / 0.507 GB, free: 17.65 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001851/0.001851, allocations: 288.6 kB / 0.5885 GB, free: 3.898 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4896/0.4915, allocations: 89.63 MB / 0.676 GB, free: 136.7 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.6706, allocations: 82.77 MB / 0.7568 GB, free: 83.35 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1461/0.8168, allocations: 109.6 MB / 0.8639 GB, free: 5.586 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.8172, allocations: 80.58 kB / 0.8639 GB, free: 5.508 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.01004/0.8272, allocations: 3.256 MB / 0.8671 GB, free: 2.188 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.8273, allocations: 8 kB / 0.8671 GB, free: 2.18 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.8274, allocations: 23.75 kB / 0.8671 GB, free: 2.156 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.8275, allocations: 178.8 kB / 0.8673 GB, free: 1.941 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.8276, allocations: 67.39 kB / 0.8674 GB, free: 1.863 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.8277, allocations: 4 kB / 0.8674 GB, free: 1.859 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002211/0.8279, allocations: 95.92 kB / 0.8675 GB, free: 1.766 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.8281, allocations: 93.66 kB / 0.8676 GB, free: 1.668 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.8281, allocations: 7.906 kB / 0.8676 GB, free: 1.66 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.8281, allocations: 3.938 kB / 0.8676 GB, free: 1.656 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.8281, allocations: 4 kB / 0.8676 GB, free: 1.652 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007089/0.8288, allocations: 412.9 kB / 0.868 GB, free: 1.211 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.8289, allocations: 54.58 kB / 0.868 GB, free: 1.148 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.298e-05/0.829, allocations: 44.84 kB / 0.8681 GB, free: 1.102 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005724/0.8296, allocations: 323.2 kB / 0.8684 GB, free: 0.7305 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.8296, allocations: 38.47 kB / 0.8684 GB, free: 0.6836 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.8297, allocations: 0 / 0.8684 GB, free: 0.6836 MB / 0.5419 GB Notification: Performance of matching and sorting (n=9): time 0.0007974/0.8305, allocations: 190.5 kB / 0.8686 GB, free: 500 kB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.8305, allocations: 55.39 kB / 0.8686 GB, free: 432 kB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.8306, allocations: 121.3 kB / 0.8688 GB, free: 300 kB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.8307, allocations: 29.7 kB / 0.8688 GB, free: 264 kB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 6.736e-05/0.8307, allocations: 116 kB / 0.8689 GB, free: 140 kB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.8308, allocations: 31.55 kB / 0.8689 GB, free: 108 kB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.8308, allocations: 0 / 0.8689 GB, free: 108 kB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.831, allocations: 314.8 kB / 0.8692 GB, free: 15.79 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.714e-05/0.831, allocations: 35.98 kB / 0.8693 GB, free: 15.75 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.615e-05/0.8311, allocations: 32 kB / 0.8693 GB, free: 15.72 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.8313, allocations: 59.94 kB / 0.8694 GB, free: 15.66 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.8313, allocations: 0 / 0.8694 GB, free: 15.66 MB / 0.5575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006318/0.8319, allocations: 222.2 kB / 0.8696 GB, free: 15.44 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.832, allocations: 8 kB / 0.8696 GB, free: 15.43 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.832, allocations: 4 kB / 0.8696 GB, free: 15.43 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004925/0.8325, allocations: 68.8 kB / 0.8696 GB, free: 15.36 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.8326, allocations: 23.98 kB / 0.8697 GB, free: 15.33 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/0.8344, allocations: 1.486 MB / 0.8711 GB, free: 13.73 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.8346, allocations: 23.81 kB / 0.8711 GB, free: 13.71 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.8346, allocations: 12.06 kB / 0.8712 GB, free: 13.7 MB / 0.5575 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 (10): * Single equations (assignments): 9 * 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 8.842e-05/0.8347, allocations: 105 kB / 0.8713 GB, free: 13.59 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.8347, allocations: 11.84 kB / 0.8713 GB, free: 13.57 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006792/0.8354, allocations: 215 kB / 0.8715 GB, free: 13.36 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.8354, allocations: 0 / 0.8715 GB, free: 13.36 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.8354, allocations: 3.906 kB / 0.8715 GB, free: 13.35 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.8355, allocations: 0 / 0.8715 GB, free: 13.35 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008351/0.8363, allocations: 460.5 kB / 0.8719 GB, free: 12.85 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.8363, allocations: 0 / 0.8719 GB, free: 12.85 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.373e-05/0.8364, allocations: 20.02 kB / 0.8719 GB, free: 12.83 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004063/0.8368, allocations: 68.98 kB / 0.872 GB, free: 12.76 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.8368, allocations: 4 kB / 0.872 GB, free: 12.76 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/0.8385, allocations: 1.485 MB / 0.8735 GB, free: 11.16 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.8386, allocations: 0 / 0.8735 GB, free: 11.16 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006663/0.8392, allocations: 314.8 kB / 0.8738 GB, free: 10.82 MB / 0.5575 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007839/0.84, allocations: 0.6748 MB / 0.8744 GB, free: 10.11 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.237e-05/0.8401, allocations: 89.09 kB / 0.8745 GB, free: 10.01 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.8401, allocations: 0 / 0.8745 GB, free: 10.01 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.8403, allocations: 11.98 kB / 0.8745 GB, free: 9.996 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/0.8404, allocations: 23.88 kB / 0.8745 GB, free: 9.973 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.8404, allocations: 0 / 0.8745 GB, free: 9.973 MB / 0.5575 GB Notification: Performance of sort global known variables: time 8.491e-05/0.8405, allocations: 115.8 kB / 0.8746 GB, free: 9.863 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0009372/0.8414, allocations: 47.94 kB / 0.8747 GB, free: 9.816 MB / 0.5575 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 (6): * Single equations (assignments): 5 * 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.0002302/0.8416, allocations: 139.1 kB / 0.8748 GB, free: 9.672 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0004987/0.8421, allocations: 201.8 kB / 0.875 GB, free: 9.465 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8422, allocations: 0 / 0.875 GB, free: 9.465 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003042/0.8425, allocations: 157.7 kB / 0.8752 GB, free: 9.301 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.8427, allocations: 15.95 kB / 0.8752 GB, free: 9.285 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004359/0.8431, allocations: 152.7 kB / 0.8753 GB, free: 9.109 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/0.8435, allocations: 0.7185 MB / 0.876 GB, free: 8.367 MB / 0.5575 GB Notification: Performance of SimCode: time 2.61e-07/0.8435, allocations: 0 / 0.876 GB, free: 8.367 MB / 0.5575 GB (rm -f BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Dynamic_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Dynamic.fmu > BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.pipe 2>&1)