Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.256/2.256, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001703/0.001703, allocations: 181.3 kB / 360.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.841/1.841, allocations: 205.1 MB / 0.6188 GB, free: 12.45 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001292/0.001292, allocations: 88.36 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.332e-05/1.362e-05, allocations: 4 kB / 0.8503 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6246/0.6246, allocations: 115.2 MB / 0.9628 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2372/0.8619, allocations: 145 MB / 1.104 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003572/0.8623, allocations: 100.2 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.05225/0.9146, allocations: 12.23 MB / 1.116 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.049e-05/0.9147, allocations: 8 kB / 1.116 GB, free: 15.54 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001381/0.9161, allocations: 0.7177 MB / 1.117 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.9162, allocations: 8.531 kB / 1.117 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002232/0.9164, allocations: 59.25 kB / 1.117 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.9177, allocations: 467.5 kB / 1.118 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.9178, allocations: 4 kB / 1.118 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.436e-05/0.9179, allocations: 4 kB / 1.118 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001718/0.918, allocations: 39.98 kB / 1.118 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.9183, allocations: 97.3 kB / 1.118 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.9183, allocations: 0 / 1.118 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.9184, allocations: 0 / 1.118 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.9184, allocations: 4 kB / 1.118 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.9197, allocations: 0.5088 MB / 1.118 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005407/0.9203, allocations: 98.69 kB / 1.118 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.9204, allocations: 36.97 kB / 1.118 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.9204, allocations: 1.875 kB / 1.118 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.9206, allocations: 79.39 kB / 1.118 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.826e-06/0.9206, allocations: 0 / 1.118 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0005403/0.9212, allocations: 154.5 kB / 1.119 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.412e-05/0.9213, allocations: 102.8 kB / 1.119 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/0.9232, allocations: 0.7693 MB / 1.119 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.953e-05/0.9233, allocations: 29.7 kB / 1.119 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.9235, allocations: 152.1 kB / 1.12 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.296e-05/0.9236, allocations: 23.66 kB / 1.12 GB, free: 12 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-06/0.9236, allocations: 0 / 1.12 GB, free: 12 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.9238, allocations: 314 kB / 1.12 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.372e-05/0.9239, allocations: 28 kB / 1.12 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.924, allocations: 76.27 kB / 1.12 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.9242, allocations: 35.97 kB / 1.12 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.9242, allocations: 0 / 1.12 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004913/0.9247, allocations: 157.5 kB / 1.12 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.9247, allocations: 4 kB / 1.12 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.9247, allocations: 5.469 kB / 1.12 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.9248, allocations: 4 kB / 1.12 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.925, allocations: 15.98 kB / 1.12 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.925, allocations: 0 / 1.12 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.9253, allocations: 7.906 kB / 1.12 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.9253, allocations: 0 / 1.12 GB, free: 11.34 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,speSel.stage,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.9255, allocations: 123.3 kB / 1.12 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.9256, allocations: 67.16 kB / 1.12 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006493/0.9263, allocations: 170.2 kB / 1.121 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.9263, allocations: 0 / 1.121 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.9263, allocations: 6.188 kB / 1.121 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.9263, allocations: 4.031 kB / 1.121 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007294/0.9271, allocations: 377.9 kB / 1.121 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.9271, allocations: 0 / 1.121 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.9272, allocations: 8 kB / 1.121 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.9273, allocations: 0 / 1.121 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.9273, allocations: 7.922 kB / 1.121 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.9273, allocations: 0 / 1.121 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/0.9273, allocations: 8 kB / 1.121 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004497/0.9278, allocations: 180.2 kB / 1.121 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.928, allocations: 144.2 kB / 1.121 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.9282, allocations: 0 / 1.121 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.9284, allocations: 7.984 kB / 1.121 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/0.9285, allocations: 11.98 kB / 1.121 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.9286, allocations: 0 / 1.121 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.001434/0.93, allocations: 0.6279 MB / 1.122 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006226/0.9307, allocations: 83.83 kB / 1.122 GB, free: 9.461 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,speSel.stage,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001308/0.932, allocations: 478 kB / 1.123 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003581/0.9324, allocations: 79.95 kB / 1.123 GB, free: 9.055 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.9324, allocations: 1.219 kB / 1.123 GB, free: 9.055 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.9325, allocations: 39.92 kB / 1.123 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.9338, allocations: 138.2 kB / 1.123 GB, free: 8.891 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/0.9365, allocations: 0.8672 MB / 1.124 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009831/0.9376, allocations: 1.013 MB / 1.125 GB, free: 6.953 MB / 0.7292 GB Notification: Performance of SimCode: time 1.793e-06/0.9376, allocations: 0 / 1.125 GB, free: 6.953 MB / 0.7292 GB Notification: Performance of Templates: time 0.01886/0.9565, allocations: 5.487 MB / 1.13 GB, free: 1.57 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)