Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.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.Geometries.Examples.RotateRectangle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle") translateModel(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle") [: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.7543/0.7543, allocations: 141.8 MB / 149.1 MB, free: 11.64 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.001016/0.001016, allocations: 179.4 kB / 182 MB, free: 8.41 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.216/1.216, allocations: 221.4 MB / 436.1 MB, free: 0.7109 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.0009959/0.0009956, allocations: 98.89 kB / 0.507 GB, free: 9.684 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001721/0.001721, allocations: 267 kB / 0.5885 GB, free: 6.508 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 6.683e-06/6.712e-06, allocations: 0 / 0.6759 GB, free: 12.87 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3262, allocations: 82.76 MB / 0.7567 GB, free: 137.7 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.09913/0.4254, allocations: 109.9 MB / 0.8641 GB, free: 27.64 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/0.4256, allocations: 72.98 kB / 0.8641 GB, free: 27.57 MB / 0.5575 GB Notification: Performance of FrontEnd: time 0.0128/0.4384, allocations: 5.022 MB / 0.869 GB, free: 22.59 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.4385, allocations: 0 / 0.869 GB, free: 22.59 MB / 0.5575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0002773/0.4388, allocations: 446.5 kB / 0.8695 GB, free: 22.11 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.4388, allocations: 9.281 kB / 0.8695 GB, free: 22.1 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.665e-05/0.4389, allocations: 23.72 kB / 0.8695 GB, free: 22.08 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.399e-05/0.4389, allocations: 182.8 kB / 0.8697 GB, free: 21.86 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.439, allocations: 15.98 kB / 0.8697 GB, free: 21.84 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-05/0.439, allocations: 15.94 kB / 0.8697 GB, free: 21.83 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001228/0.4403, allocations: 1.055 MB / 0.8707 GB, free: 20.77 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/0.4408, allocations: 459 kB / 0.8712 GB, free: 20.3 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.4408, allocations: 3.938 kB / 0.8712 GB, free: 20.3 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.665e-05/0.4408, allocations: 4 kB / 0.8712 GB, free: 20.29 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.4408, allocations: 4 kB / 0.8712 GB, free: 20.29 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.4421, allocations: 1.265 MB / 0.8724 GB, free: 18.96 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.4424, allocations: 251.3 kB / 0.8727 GB, free: 18.71 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.4426, allocations: 101.5 kB / 0.8728 GB, free: 18.61 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008841/0.4514, allocations: 5.425 MB / 0.878 GB, free: 12.49 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.4514, allocations: 42.56 kB / 0.8781 GB, free: 12.44 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=30): time 1.973e-06/0.4514, allocations: 4 kB / 0.8781 GB, free: 12.44 MB / 0.5575 GB Notification: Performance of matching and sorting (n=30): time 0.000713/0.4522, allocations: 241.9 kB / 0.8783 GB, free: 12.2 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.4522, allocations: 55.41 kB / 0.8784 GB, free: 12.13 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.4523, allocations: 160.3 kB / 0.8785 GB, free: 11.97 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.4523, allocations: 29.64 kB / 0.8786 GB, free: 11.93 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 6.193e-05/0.4524, allocations: 183.6 kB / 0.8787 GB, free: 11.75 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 5.667e-05/0.4525, allocations: 98.56 kB / 0.8788 GB, free: 11.65 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/0.4525, allocations: 0 / 0.8788 GB, free: 11.65 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 4.686e-05/0.4526, allocations: 338.7 kB / 0.8792 GB, free: 11.31 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.4527, allocations: 84.97 kB / 0.8792 GB, free: 11.23 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.4528, allocations: 267.8 kB / 0.8795 GB, free: 10.88 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004749/0.4533, allocations: 160.1 kB / 0.8796 GB, free: 10.73 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4533, allocations: 4 kB / 0.8796 GB, free: 10.72 MB / 0.5575 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007737/0.4541, allocations: 396.8 kB / 0.88 GB, free: 10.33 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.4541, allocations: 7.984 kB / 0.88 GB, free: 10.32 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.4541, allocations: 8.812 kB / 0.88 GB, free: 10.31 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.4542, allocations: 8 kB / 0.88 GB, free: 10.3 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/0.4545, allocations: 131.8 kB / 0.8802 GB, free: 10.18 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.4546, allocations: 8 kB / 0.8802 GB, free: 10.17 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.4547, allocations: 43.44 kB / 0.8802 GB, free: 10.12 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.216e-05/0.4548, allocations: 51.98 kB / 0.8803 GB, free: 10.07 MB / 0.5575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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 7.502e-05/0.4549, allocations: 124.8 kB / 0.8804 GB, free: 9.945 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.706e-05/0.4549, allocations: 19.72 kB / 0.8804 GB, free: 9.926 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007776/0.4557, allocations: 319.2 kB / 0.8807 GB, free: 9.617 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.4557, allocations: 4 kB / 0.8807 GB, free: 9.613 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.4557, allocations: 0 / 0.8807 GB, free: 9.613 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4558, allocations: 0 / 0.8807 GB, free: 9.613 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.456, allocations: 253.9 kB / 0.881 GB, free: 9.328 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.456, allocations: 0 / 0.881 GB, free: 9.328 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.4562, allocations: 79.88 kB / 0.881 GB, free: 9.25 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.4563, allocations: 8 kB / 0.881 GB, free: 9.242 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.4563, allocations: 15.98 kB / 0.8811 GB, free: 9.227 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4563, allocations: 3.938 kB / 0.8811 GB, free: 9.223 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4563, allocations: 0 / 0.8811 GB, free: 9.223 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006154/0.4569, allocations: 363.4 kB / 0.8814 GB, free: 8.852 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.457, allocations: 100.8 kB / 0.8815 GB, free: 8.734 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.457, allocations: 0 / 0.8815 GB, free: 8.734 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.4571, allocations: 4 kB / 0.8815 GB, free: 8.73 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.4572, allocations: 27.95 kB / 0.8815 GB, free: 8.703 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/0.4572, allocations: 43.98 kB / 0.8816 GB, free: 8.66 MB / 0.5575 GB Notification: Performance of sort global known variables: time 5.282e-05/0.4573, allocations: 127.1 kB / 0.8817 GB, free: 8.535 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0003898/0.4577, allocations: 67.94 kB / 0.8818 GB, free: 8.469 MB / 0.5575 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0002465/0.4579, allocations: 184.3 kB / 0.8819 GB, free: 8.277 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0003226/0.4583, allocations: 263.6 kB / 0.8822 GB, free: 8.02 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4583, allocations: 1.625 kB / 0.8822 GB, free: 8.02 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.4584, allocations: 119.8 kB / 0.8823 GB, free: 7.902 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.4586, allocations: 4 kB / 0.8823 GB, free: 7.898 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005399/0.4591, allocations: 328.2 kB / 0.8826 GB, free: 7.555 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000582/0.4597, allocations: 0.8804 MB / 0.8835 GB, free: 6.645 MB / 0.5575 GB Notification: Performance of SimCode: time 2.31e-07/0.4597, allocations: 0 / 0.8835 GB, free: 6.645 MB / 0.5575 GB Notification: Performance of Templates: time 0.005812/0.4655, allocations: 3.548 MB / 0.8869 GB, free: 3.156 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.sim & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe 2>&1)