Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.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.Humidifiers.Validation.SprayAirWasher_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X") translateModel(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X") [: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.52/1.52, allocations: 289.8 MB / 297 MB, free: 6.66 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.001311/0.001311, allocations: 177.3 kB / 366.3 MB, free: 1.977 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.462/1.462, allocations: 205.2 MB / 0.6256 GB, free: 5.82 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.0009794/0.0009795, allocations: 90.41 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.884e-06/7.905e-06, allocations: 0 / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.72/0.72, allocations: 116.3 MB / 0.9725 GB, free: 68.64 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.992/5.712, allocations: 2.081 GB / 3.054 GB, free: 356 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/5.712, allocations: 84.58 kB / 3.054 GB, free: 356 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.614/7.326, allocations: 0.5995 GB / 3.653 GB, free: 128.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.203e-05/7.326, allocations: 27.98 kB / 3.653 GB, free: 128.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.003061/7.329, allocations: 1.008 MB / 3.654 GB, free: 127.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/7.329, allocations: 8.031 kB / 3.654 GB, free: 127.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/7.33, allocations: 238.8 kB / 3.654 GB, free: 126.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002001/7.332, allocations: 0.8777 MB / 3.655 GB, free: 125.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/7.332, allocations: 12 kB / 3.655 GB, free: 125.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.795e-05/7.333, allocations: 24 kB / 3.655 GB, free: 125.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005828/7.333, allocations: 365.4 kB / 3.656 GB, free: 125.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005727/7.334, allocations: 435 kB / 3.656 GB, free: 125.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/7.334, allocations: 0 / 3.656 GB, free: 125.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/7.334, allocations: 4 kB / 3.656 GB, free: 125.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.062e-05/7.334, allocations: 20.77 kB / 3.656 GB, free: 125 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002351/7.336, allocations: 2.229 MB / 3.658 GB, free: 122.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/7.336, allocations: 238.5 kB / 3.659 GB, free: 122.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/7.337, allocations: 117.6 kB / 3.659 GB, free: 122.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008516/7.337, allocations: 0.826 MB / 3.659 GB, free: 121.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/7.338, allocations: 188.2 kB / 3.66 GB, free: 121.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 1.743e-06/7.338, allocations: 3.938 kB / 3.66 GB, free: 121 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.001006/7.339, allocations: 396.7 kB / 3.66 GB, free: 120.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/7.339, allocations: 110.8 kB / 3.66 GB, free: 120.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004156/7.339, allocations: 462.1 kB / 3.661 GB, free: 120.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/7.339, allocations: 29.7 kB / 3.661 GB, free: 120 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/7.339, allocations: 255.6 kB / 3.661 GB, free: 119.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.602e-05/7.339, allocations: 78.84 kB / 3.661 GB, free: 119.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.608e-05/7.339, allocations: 0 / 3.661 GB, free: 119.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.853e-05/7.339, allocations: 362.8 kB / 3.661 GB, free: 119.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/7.34, allocations: 104.7 kB / 3.661 GB, free: 119.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/7.34, allocations: 285.5 kB / 3.662 GB, free: 118.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004222/7.34, allocations: 222.5 kB / 3.662 GB, free: 118.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/7.34, allocations: 0 / 3.662 GB, free: 118.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007295/7.341, allocations: 476.4 kB / 3.662 GB, free: 118.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003841/7.341, allocations: 1.829 MB / 3.664 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/7.341, allocations: 4 kB / 3.664 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/7.341, allocations: 8 kB / 3.664 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/7.342, allocations: 83.83 kB / 3.664 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/7.342, allocations: 8 kB / 3.664 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/7.342, allocations: 43.58 kB / 3.664 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/7.342, allocations: 23.98 kB / 3.664 GB, free: 116 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.032e-06/7.342, allocations: 4 kB / 3.664 GB, free: 116 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007001/7.343, allocations: 394 kB / 3.665 GB, free: 115.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/7.343, allocations: 4 kB / 3.665 GB, free: 115.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.232e-06/7.343, allocations: 8 kB / 3.665 GB, free: 115.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/7.343, allocations: 79.83 kB / 3.665 GB, free: 115.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/7.343, allocations: 8.562 kB / 3.665 GB, free: 115.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/7.344, allocations: 43.61 kB / 3.665 GB, free: 115.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/7.344, allocations: 27.98 kB / 3.665 GB, free: 115.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0001004/7.344, allocations: 127.7 kB / 3.665 GB, free: 115.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.604e-05/7.344, allocations: 59.25 kB / 3.665 GB, free: 115.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006964/7.345, allocations: 364.1 kB / 3.665 GB, free: 114.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/7.345, allocations: 7.938 kB / 3.665 GB, free: 114.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/7.345, allocations: 0 / 3.665 GB, free: 114.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/7.345, allocations: 0 / 3.665 GB, free: 114.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/7.346, allocations: 1.154 MB / 3.666 GB, free: 113.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/7.346, allocations: 8 kB / 3.666 GB, free: 113.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/7.346, allocations: 43.91 kB / 3.667 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/7.346, allocations: 4 kB / 3.667 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/7.346, allocations: 4 kB / 3.667 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/7.346, allocations: 4.094 kB / 3.667 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/7.346, allocations: 3.938 kB / 3.667 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000713/7.347, allocations: 0.6329 MB / 3.667 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/7.347, allocations: 164.4 kB / 3.667 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.963e-05/7.347, allocations: 4 kB / 3.667 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/7.347, allocations: 20.27 kB / 3.667 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/7.348, allocations: 19.83 kB / 3.667 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/7.348, allocations: 15.98 kB / 3.667 GB, free: 112.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002929/7.348, allocations: 346.9 kB / 3.668 GB, free: 112.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001107/7.349, allocations: 379.2 kB / 3.668 GB, free: 111.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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.002102/7.351, allocations: 1.773 MB / 3.67 GB, free: 110.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005973/7.352, allocations: 460.3 kB / 3.67 GB, free: 109.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/7.352, allocations: 4.375 kB / 3.67 GB, free: 109.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/7.352, allocations: 123.8 kB / 3.67 GB, free: 109.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008888/7.353, allocations: 200.9 kB / 3.671 GB, free: 109.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/7.356, allocations: 1.518 MB / 3.672 GB, free: 107.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004193/7.357, allocations: 0.9625 MB / 3.673 GB, free: 106.8 MB / 0.948 GB Notification: Performance of SimCode: time 5.01e-07/7.357, allocations: 0 / 3.673 GB, free: 106.8 MB / 0.948 GB Notification: Performance of Templates: time 0.02418/7.381, allocations: 18.38 MB / 3.691 GB, free: 88.54 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1)