Running: ./testmodel.py --libraries=/home/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 (/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.1/package.mo): time 2.295/2.295, allocations: 248.6 MB / 255.9 MB, free: 7.074 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002215/0.002214, allocations: 192.1 kB / 315.1 MB, free: 4.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.1 MB / 0.5658 GB, free: 360 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001319/0.001319, allocations: 105.7 kB / 0.67 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4782/0.4796, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.7088, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.751/6.46, allocations: 2.199 GB / 3.083 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/6.46, allocations: 86.39 kB / 3.083 GB, free: 169.3 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 2.912/9.372, allocations: 0.5805 GB / 3.663 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/9.372, allocations: 9.875 kB / 3.663 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003986/9.376, allocations: 233.1 kB / 3.663 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005659/9.382, allocations: 0.8817 MB / 3.664 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.791e-05/9.382, allocations: 17.56 kB / 3.664 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/9.382, allocations: 21.66 kB / 3.664 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001716/9.384, allocations: 371.9 kB / 3.665 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/9.385, allocations: 433.3 kB / 3.665 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/9.385, allocations: 0 / 3.665 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.401e-05/9.385, allocations: 2.781 kB / 3.665 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.874e-05/9.385, allocations: 16.53 kB / 3.665 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004417/9.39, allocations: 2.234 MB / 3.667 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005303/9.39, allocations: 232.4 kB / 3.668 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/9.391, allocations: 125.1 kB / 3.668 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001551/9.392, allocations: 0.8273 MB / 3.669 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003652/9.393, allocations: 177 kB / 3.669 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 3.086e-06/9.393, allocations: 3.688 kB / 3.669 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.001867/9.394, allocations: 406.4 kB / 3.669 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/9.395, allocations: 109.7 kB / 3.669 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008049/9.395, allocations: 456 kB / 3.67 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.775e-05/9.395, allocations: 29.42 kB / 3.67 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/9.396, allocations: 248.7 kB / 3.67 GB, free: 181 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.323e-05/9.396, allocations: 85.22 kB / 3.67 GB, free: 181 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/9.396, allocations: 0 / 3.67 GB, free: 181 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001119/9.396, allocations: 366.4 kB / 3.67 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/9.396, allocations: 94.7 kB / 3.67 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003924/9.397, allocations: 295.8 kB / 3.671 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008464/9.397, allocations: 212.5 kB / 3.671 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/9.397, allocations: 2.719 kB / 3.671 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001486/9.399, allocations: 474.3 kB / 3.671 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004109/9.399, allocations: 1.833 MB / 3.673 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/9.399, allocations: 8.5 kB / 3.673 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.36e-05/9.399, allocations: 7.875 kB / 3.673 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006966/9.4, allocations: 87.31 kB / 3.673 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/9.4, allocations: 11.5 kB / 3.673 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007611/9.401, allocations: 40.53 kB / 3.673 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.368e-05/9.401, allocations: 24.38 kB / 3.673 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/9.401, allocations: 3.969 kB / 3.673 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001265/9.402, allocations: 381 kB / 3.674 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/9.402, allocations: 7.812 kB / 3.674 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/9.402, allocations: 7.594 kB / 3.674 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00061/9.403, allocations: 86.2 kB / 3.674 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/9.403, allocations: 9.281 kB / 3.674 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006697/9.404, allocations: 41.48 kB / 3.674 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.097e-05/9.404, allocations: 17.34 kB / 3.674 GB, free: 178.4 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.0002292/9.404, allocations: 130.9 kB / 3.674 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/9.404, allocations: 54.06 kB / 3.674 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/9.406, allocations: 367.7 kB / 3.674 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/9.406, allocations: 8.969 kB / 3.674 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/9.406, allocations: 5.656 kB / 3.674 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/9.406, allocations: 3.234 kB / 3.674 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002692/9.408, allocations: 1.142 MB / 3.675 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/9.408, allocations: 6.531 kB / 3.675 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004508/9.409, allocations: 48.8 kB / 3.676 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/9.409, allocations: 6.844 kB / 3.676 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/9.409, allocations: 7.703 kB / 3.676 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.607e-06/9.409, allocations: 5.406 kB / 3.676 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/9.409, allocations: 2.281 kB / 3.676 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001354/9.41, allocations: 0.6198 MB / 3.676 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001847/9.412, allocations: 1.087 MB / 3.677 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000348/9.413, allocations: 160.7 kB / 3.677 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/9.413, allocations: 3.219 kB / 3.677 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004859/9.413, allocations: 12.84 kB / 3.677 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/9.413, allocations: 24.19 kB / 3.677 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/9.413, allocations: 16.91 kB / 3.677 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005913/9.414, allocations: 348 kB / 3.678 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004183/9.418, allocations: 0.7178 MB / 3.678 GB, free: 176.4 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.003193/9.421, allocations: 1.771 MB / 3.68 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001284/9.423, allocations: 479.7 kB / 3.681 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/9.423, allocations: 0 / 3.681 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002968/9.423, allocations: 127.3 kB / 3.681 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/9.425, allocations: 184.5 kB / 3.681 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006294/9.431, allocations: 1.523 MB / 3.682 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007558/9.432, allocations: 0.9718 MB / 3.683 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of SimCode: time 9.32e-07/9.432, allocations: 0 / 3.683 GB, free: 174.9 MB / 0.8698 GB