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: translateModel(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static") translateModel(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_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.7592/0.7592, allocations: 141.8 MB / 149.1 MB, free: 14.89 MB / 130.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009925/0.0009924, allocations: 192.1 kB / 182 MB, free: 15.49 MB / 162.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 221.3 MB / 436 MB, free: 5.473 MB / 322.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009465/0.0009466, allocations: 96.19 kB / 0.507 GB, free: 4.652 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001735/0.001735, allocations: 285.1 kB / 0.5885 GB, free: 96.09 MB / 450.9 MB Notification: Performance of FrontEnd - loaded program: time 6.562e-06/6.592e-06, allocations: 0 / 0.6759 GB, free: 7.16 MB / 450.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4444/0.4444, allocations: 82.76 MB / 0.7567 GB, free: 67.59 MB / 0.5028 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.5852, allocations: 109.3 MB / 0.8635 GB, free: 14.47 MB / 0.534 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.5854, allocations: 73.16 kB / 0.8636 GB, free: 14.4 MB / 0.534 GB Notification: Performance of FrontEnd: time 0.008064/0.5935, allocations: 2.633 MB / 0.8661 GB, free: 11.84 MB / 0.534 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.5935, allocations: 5.969 kB / 0.8661 GB, free: 11.83 MB / 0.534 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.000533/0.5941, allocations: 414.4 kB / 0.8665 GB, free: 11.38 MB / 0.534 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.5941, allocations: 12.03 kB / 0.8665 GB, free: 11.37 MB / 0.534 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.5942, allocations: 11.81 kB / 0.8666 GB, free: 11.36 MB / 0.534 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.5943, allocations: 174.9 kB / 0.8667 GB, free: 11.15 MB / 0.534 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.5944, allocations: 61.78 kB / 0.8668 GB, free: 11.08 MB / 0.534 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.5945, allocations: 8.656 kB / 0.8668 GB, free: 11.07 MB / 0.534 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001881/0.5947, allocations: 87.98 kB / 0.8669 GB, free: 10.98 MB / 0.534 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.5948, allocations: 94.89 kB / 0.867 GB, free: 10.89 MB / 0.534 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.5948, allocations: 0 / 0.867 GB, free: 10.89 MB / 0.534 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.5949, allocations: 2.062 kB / 0.867 GB, free: 10.89 MB / 0.534 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.5949, allocations: 0.7031 kB / 0.867 GB, free: 10.89 MB / 0.534 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006283/0.5955, allocations: 406 kB / 0.8673 GB, free: 10.45 MB / 0.534 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.5956, allocations: 58.55 kB / 0.8674 GB, free: 10.39 MB / 0.534 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.395e-05/0.5957, allocations: 28.89 kB / 0.8674 GB, free: 10.36 MB / 0.534 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005302/0.5962, allocations: 323.4 kB / 0.8677 GB, free: 9.984 MB / 0.534 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.5963, allocations: 38.55 kB / 0.8678 GB, free: 9.938 MB / 0.534 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.5963, allocations: 4 kB / 0.8678 GB, free: 9.934 MB / 0.534 GB Notification: Performance of matching and sorting (n=7): time 0.0007016/0.597, allocations: 162.3 kB / 0.8679 GB, free: 9.766 MB / 0.534 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.597, allocations: 55.41 kB / 0.868 GB, free: 9.699 MB / 0.534 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.115e-05/0.5971, allocations: 114.5 kB / 0.8681 GB, free: 9.582 MB / 0.534 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.5972, allocations: 25.7 kB / 0.8681 GB, free: 9.551 MB / 0.534 GB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.5972, allocations: 111.7 kB / 0.8682 GB, free: 9.438 MB / 0.534 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.5972, allocations: 27.64 kB / 0.8683 GB, free: 9.41 MB / 0.534 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-06/0.5973, allocations: 0 / 0.8683 GB, free: 9.41 MB / 0.534 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.5974, allocations: 310.8 kB / 0.8686 GB, free: 9.098 MB / 0.534 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-05/0.5974, allocations: 24 kB / 0.8686 GB, free: 9.074 MB / 0.534 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.287e-05/0.5975, allocations: 32 kB / 0.8686 GB, free: 9.043 MB / 0.534 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.5977, allocations: 55.92 kB / 0.8687 GB, free: 8.988 MB / 0.534 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5977, allocations: 0 / 0.8687 GB, free: 8.988 MB / 0.534 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005812/0.5983, allocations: 191.2 kB / 0.8688 GB, free: 8.793 MB / 0.534 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.5983, allocations: 4 kB / 0.8688 GB, free: 8.789 MB / 0.534 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5983, allocations: 5.109 kB / 0.8688 GB, free: 8.785 MB / 0.534 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004584/0.5988, allocations: 73.88 kB / 0.8689 GB, free: 8.711 MB / 0.534 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.994e-05/0.5989, allocations: 15.98 kB / 0.8689 GB, free: 8.695 MB / 0.534 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/0.6006, allocations: 1.492 MB / 0.8704 GB, free: 7.094 MB / 0.534 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.703e-05/0.6007, allocations: 7.906 kB / 0.8704 GB, free: 7.086 MB / 0.534 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.6007, allocations: 8.031 kB / 0.8704 GB, free: 7.078 MB / 0.534 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 7.794e-05/0.6008, allocations: 109 kB / 0.8705 GB, free: 6.965 MB / 0.534 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.6008, allocations: 7.906 kB / 0.8705 GB, free: 6.957 MB / 0.534 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006092/0.6015, allocations: 187.3 kB / 0.8707 GB, free: 6.77 MB / 0.534 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.6015, allocations: 0 / 0.8707 GB, free: 6.77 MB / 0.534 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.6015, allocations: 3.984 kB / 0.8707 GB, free: 6.766 MB / 0.534 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.6015, allocations: 0.8438 kB / 0.8707 GB, free: 6.766 MB / 0.534 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007885/0.6023, allocations: 428.6 kB / 0.8711 GB, free: 6.297 MB / 0.534 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.6023, allocations: 0 / 0.8711 GB, free: 6.297 MB / 0.534 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.6023, allocations: 8 kB / 0.8711 GB, free: 6.289 MB / 0.534 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000371/0.6027, allocations: 68.83 kB / 0.8712 GB, free: 6.219 MB / 0.534 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.6027, allocations: 4 kB / 0.8712 GB, free: 6.215 MB / 0.534 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.6043, allocations: 1.491 MB / 0.8726 GB, free: 4.613 MB / 0.534 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.6044, allocations: 0.5156 kB / 0.8726 GB, free: 4.613 MB / 0.534 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006008/0.605, allocations: 286.9 kB / 0.8729 GB, free: 4.305 MB / 0.534 GB Notification: Performance of postOpt removeConstants (simulation): time 3.779e-05/0.605, allocations: 82.8 kB / 0.873 GB, free: 4.207 MB / 0.534 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.605, allocations: 7.938 kB / 0.873 GB, free: 4.199 MB / 0.534 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.701e-05/0.6051, allocations: 7.984 kB / 0.873 GB, free: 4.191 MB / 0.534 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.6052, allocations: 7.906 kB / 0.873 GB, free: 4.184 MB / 0.534 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.6052, allocations: 4 kB / 0.873 GB, free: 4.18 MB / 0.534 GB Notification: Performance of sort global known variables: time 5.008e-05/0.6053, allocations: 96.69 kB / 0.8731 GB, free: 4.086 MB / 0.534 GB Notification: Performance of remove unused functions: time 0.0004051/0.6057, allocations: 59.88 kB / 0.8732 GB, free: 4.027 MB / 0.534 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.0002488/0.6059, allocations: 151.8 kB / 0.8733 GB, free: 3.871 MB / 0.534 GB Notification: Performance of simCode: created initialization part: time 0.0004136/0.6063, allocations: 185.5 kB / 0.8735 GB, free: 3.684 MB / 0.534 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6064, allocations: 0 / 0.8735 GB, free: 3.684 MB / 0.534 GB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.6066, allocations: 145.8 kB / 0.8736 GB, free: 3.531 MB / 0.534 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.6068, allocations: 15.95 kB / 0.8736 GB, free: 3.516 MB / 0.534 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004105/0.6072, allocations: 131.2 kB / 0.8738 GB, free: 3.355 MB / 0.534 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/0.6075, allocations: 0.7204 MB / 0.8745 GB, free: 2.613 MB / 0.534 GB Notification: Performance of SimCode: time 2.3e-07/0.6075, allocations: 0 / 0.8745 GB, free: 2.613 MB / 0.534 GB Notification: Performance of Templates: time 0.004678/0.6122, allocations: 2.028 MB / 0.8765 GB, free: 0.6523 MB / 0.534 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.makefile (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 & ./BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe 2>&1)