Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.132/2.132, allocations: 253.1 MB / 260.4 MB, free: 7.598 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001666/0.001666, allocations: 174.7 kB / 319.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.904/1.904, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001359/0.001358, allocations: 92.89 kB / 0.6746 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.05e-05/1.066e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.21, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.732/5.942, allocations: 2.199 GB / 3.087 GB, free: 163 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003442/5.943, allocations: 81.95 kB / 3.087 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.956/8.899, allocations: 0.5795 GB / 3.667 GB, free: 187.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.904e-05/8.899, allocations: 21.41 kB / 3.667 GB, free: 187.7 MB / 0.8698 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.004038/8.903, allocations: 1.011 MB / 3.668 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/8.903, allocations: 7.875 kB / 3.668 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002305/8.906, allocations: 232 kB / 3.668 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003643/8.909, allocations: 0.8784 MB / 3.669 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/8.909, allocations: 18.41 kB / 3.669 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.866e-05/8.91, allocations: 25.75 kB / 3.669 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00111/8.911, allocations: 363.8 kB / 3.669 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/8.912, allocations: 432.9 kB / 3.67 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/8.912, allocations: 0 / 3.67 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.268e-05/8.912, allocations: 0 / 3.67 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.744e-05/8.912, allocations: 23.38 kB / 3.67 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004296/8.916, allocations: 2.229 MB / 3.672 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005222/8.917, allocations: 236.5 kB / 3.672 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/8.917, allocations: 119.2 kB / 3.672 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00151/8.919, allocations: 0.8208 MB / 3.673 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003913/8.919, allocations: 181.5 kB / 3.673 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 3.116e-06/8.919, allocations: 0 / 3.673 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.001839/8.921, allocations: 416.6 kB / 3.674 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/8.921, allocations: 110.7 kB / 3.674 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008167/8.922, allocations: 455.5 kB / 3.674 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.897e-05/8.922, allocations: 25.7 kB / 3.674 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/8.922, allocations: 253 kB / 3.674 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.597e-05/8.922, allocations: 85.47 kB / 3.675 GB, free: 184 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/8.922, allocations: 0 / 3.675 GB, free: 184 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001153/8.922, allocations: 369.4 kB / 3.675 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/8.923, allocations: 94.94 kB / 3.675 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003908/8.923, allocations: 291.1 kB / 3.675 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000843/8.924, allocations: 221.6 kB / 3.675 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/8.924, allocations: 3.906 kB / 3.675 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001451/8.925, allocations: 464.2 kB / 3.676 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004223/8.926, allocations: 1.84 MB / 3.678 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/8.926, allocations: 6.281 kB / 3.678 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.328e-05/8.926, allocations: 6.188 kB / 3.678 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000668/8.927, allocations: 84.17 kB / 3.678 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/8.927, allocations: 7.438 kB / 3.678 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007682/8.927, allocations: 44.67 kB / 3.678 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.538e-05/8.927, allocations: 26.27 kB / 3.678 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/8.927, allocations: 3.875 kB / 3.678 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001268/8.929, allocations: 375.4 kB / 3.678 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/8.929, allocations: 10.91 kB / 3.678 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/8.929, allocations: 10.97 kB / 3.678 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005959/8.929, allocations: 82.28 kB / 3.678 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/8.929, allocations: 9.219 kB / 3.678 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006695/8.93, allocations: 38.64 kB / 3.678 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.935e-05/8.93, allocations: 27.78 kB / 3.678 GB, free: 181.5 MB / 0.8698 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.0001718/8.93, allocations: 121.1 kB / 3.679 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/8.931, allocations: 53.5 kB / 3.679 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/8.932, allocations: 372.4 kB / 3.679 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/8.932, allocations: 7.047 kB / 3.679 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/8.932, allocations: 0 / 3.679 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/8.932, allocations: 3.406 kB / 3.679 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002576/8.935, allocations: 1.156 MB / 3.68 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/8.935, allocations: 3.375 kB / 3.68 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004005/8.935, allocations: 41.17 kB / 3.68 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/8.935, allocations: 7.047 kB / 3.68 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/8.935, allocations: 3.344 kB / 3.68 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.832e-06/8.935, allocations: 6.719 kB / 3.68 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/8.935, allocations: 6.875 kB / 3.68 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001283/8.936, allocations: 0.6256 MB / 3.681 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/8.937, allocations: 167.6 kB / 3.681 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/8.937, allocations: 3.312 kB / 3.681 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004593/8.937, allocations: 14.77 kB / 3.681 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.452e-05/8.937, allocations: 21.47 kB / 3.681 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/8.938, allocations: 16.73 kB / 3.681 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000591/8.938, allocations: 350.1 kB / 3.681 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001783/8.94, allocations: 377.3 kB / 3.682 GB, free: 180.2 MB / 0.8698 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.003289/8.943, allocations: 1.778 MB / 3.683 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001308/8.945, allocations: 463.7 kB / 3.684 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/8.945, allocations: 3.812 kB / 3.684 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002981/8.945, allocations: 119.7 kB / 3.684 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/8.947, allocations: 196.6 kB / 3.684 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006167/8.953, allocations: 1.525 MB / 3.686 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007175/8.954, allocations: 0.9609 MB / 3.687 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.352e-06/8.954, allocations: 0 / 3.687 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.04708/9.001, allocations: 18.39 MB / 3.705 GB, free: 178.1 MB / 0.8698 GB