Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.56/1.56, allocations: 289.8 MB / 297.1 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 181.3 kB / 366.3 MB, free: 1.984 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.2 MB / 0.6256 GB, free: 5.816 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 89.3 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.032e-05/1.036e-05, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6685/0.6685, allocations: 116.3 MB / 0.9726 GB, free: 68.78 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1909/0.8595, allocations: 146.1 MB / 1.115 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003392/0.8599, allocations: 95.92 kB / 1.115 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03354/0.8935, allocations: 12.23 MB / 1.127 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.119e-05/0.8936, allocations: 8 kB / 1.127 GB, free: 5.957 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.001392/0.895, allocations: 0.713 MB / 1.128 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/0.895, allocations: 8.031 kB / 1.128 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.8953, allocations: 63.25 kB / 1.128 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.8964, allocations: 467.5 kB / 1.129 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.8964, allocations: 8 kB / 1.129 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.8965, allocations: 4 kB / 1.129 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001312/0.8966, allocations: 43.92 kB / 1.129 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.8968, allocations: 92.98 kB / 1.129 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.8968, allocations: 0 / 1.129 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.8968, allocations: 0 / 1.129 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.8969, allocations: 0 / 1.129 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009975/0.8979, allocations: 0.5172 MB / 1.129 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003448/0.8982, allocations: 94.66 kB / 1.129 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.036e-05/0.8983, allocations: 28.98 kB / 1.129 GB, free: 3.773 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.8983, allocations: 0 / 1.129 GB, free: 3.773 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001221/0.8984, allocations: 83.42 kB / 1.129 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.8985, allocations: 0 / 1.129 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003123/0.8988, allocations: 156.8 kB / 1.13 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/0.8989, allocations: 103.9 kB / 1.13 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009983/0.8999, allocations: 0.7694 MB / 1.13 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.8999, allocations: 25.7 kB / 1.13 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.9, allocations: 156.1 kB / 1.131 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.9001, allocations: 23.66 kB / 1.131 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.9001, allocations: 0 / 1.131 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.9002, allocations: 314 kB / 1.131 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.78e-05/0.9003, allocations: 23.98 kB / 1.131 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.972e-05/0.9004, allocations: 84.77 kB / 1.131 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.966e-05/0.9004, allocations: 27.98 kB / 1.131 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.9005, allocations: 0 / 1.131 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000237/0.9007, allocations: 158.4 kB / 1.131 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.9007, allocations: 8 kB / 1.131 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.9008, allocations: 1.312 kB / 1.131 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.9008, allocations: 0 / 1.131 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.792e-05/0.9009, allocations: 19.92 kB / 1.131 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.9009, allocations: 0 / 1.131 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.901, allocations: 7.906 kB / 1.131 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.9011, allocations: 4 kB / 1.131 GB, free: 1.746 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.0001133/0.9012, allocations: 116.8 kB / 1.131 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.15e-05/0.9013, allocations: 63.16 kB / 1.131 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.9016, allocations: 178.2 kB / 1.132 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.9016, allocations: 0 / 1.132 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.9016, allocations: 0 / 1.132 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.9016, allocations: 0 / 1.132 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.9021, allocations: 373.9 kB / 1.132 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.9021, allocations: 0 / 1.132 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.424e-05/0.9021, allocations: 9.219 kB / 1.132 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.9021, allocations: 48 / 1.132 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.9022, allocations: 15.92 kB / 1.132 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.9022, allocations: 0 / 1.132 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.9022, allocations: 0 / 1.132 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002417/0.9024, allocations: 180.2 kB / 1.132 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.9026, allocations: 144.2 kB / 1.132 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.281e-05/0.9027, allocations: 8 kB / 1.132 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.9028, allocations: 4 kB / 1.132 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.438e-05/0.9029, allocations: 15.92 kB / 1.132 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.9029, allocations: 7.984 kB / 1.132 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0007907/0.9037, allocations: 0.624 MB / 1.133 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003529/0.904, allocations: 79.84 kB / 1.133 GB, free: 15.87 MB / 0.7448 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.00106/0.9051, allocations: 483.7 kB / 1.133 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000212/0.9053, allocations: 83.91 kB / 1.133 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.9053, allocations: 0 / 1.133 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.208e-05/0.9054, allocations: 35.98 kB / 1.134 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006526/0.9061, allocations: 135.5 kB / 1.134 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.9076, allocations: 0.8691 MB / 1.134 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007302/0.9084, allocations: 1.017 MB / 1.135 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of SimCode: time 3.3e-07/0.9084, allocations: 0 / 1.135 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of Templates: time 0.01221/0.9206, allocations: 5.461 MB / 1.141 GB, free: 7.887 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)