Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="IDEAS_IDEAS_Fluid_Humidifiers_Validation_SprayAirWasher_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.004102/0.004102, allocations: 184.8 kB / 7.463 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.696/0.696, allocations: 133.5 MB / 141.4 MB, free: 15.72 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.675/1.675, allocations: 221.3 MB / 395 MB, free: 10.13 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 102.8 kB / 477.8 MB, free: 10.72 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5256/0.527, allocations: 88.42 MB / 0.5529 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.7384, allocations: 82.3 MB / 0.6333 GB, free: 13.91 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.534/5.272, allocations: 1.849 GB / 2.482 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/5.273, allocations: 95.58 kB / 2.482 GB, free: 112.5 MB / 0.6823 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 1.899/7.171, allocations: 0.6054 GB / 3.088 GB, free: 27.47 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/7.171, allocations: 15.98 kB / 3.088 GB, free: 27.45 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/7.173, allocations: 230.9 kB / 3.088 GB, free: 27.23 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/7.176, allocations: 0.8893 MB / 3.089 GB, free: 26.29 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/7.176, allocations: 12 kB / 3.089 GB, free: 26.28 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/7.176, allocations: 31.98 kB / 3.089 GB, free: 26.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006937/7.177, allocations: 345.4 kB / 3.089 GB, free: 25.91 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006689/7.177, allocations: 435 kB / 3.09 GB, free: 25.47 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/7.177, allocations: 4 kB / 3.09 GB, free: 25.46 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.294e-05/7.177, allocations: 4 kB / 3.09 GB, free: 25.46 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/7.177, allocations: 20.77 kB / 3.09 GB, free: 25.44 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003034/7.18, allocations: 2.237 MB / 3.092 GB, free: 23 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/7.181, allocations: 222.7 kB / 3.092 GB, free: 22.78 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/7.181, allocations: 124.8 kB / 3.092 GB, free: 22.65 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009401/7.182, allocations: 0.826 MB / 3.093 GB, free: 21.66 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/7.182, allocations: 177.9 kB / 3.093 GB, free: 21.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 3.676e-06/7.182, allocations: 0 / 3.093 GB, free: 21.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.001191/7.183, allocations: 408.6 kB / 3.094 GB, free: 21.06 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/7.183, allocations: 106.8 kB / 3.094 GB, free: 20.93 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005342/7.184, allocations: 454.2 kB / 3.094 GB, free: 20.48 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/7.184, allocations: 33.64 kB / 3.094 GB, free: 20.44 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/7.184, allocations: 251.6 kB / 3.094 GB, free: 20.19 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.635e-05/7.184, allocations: 86.83 kB / 3.094 GB, free: 20.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/7.184, allocations: 0 / 3.094 GB, free: 20.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.826e-05/7.184, allocations: 366.8 kB / 3.095 GB, free: 19.73 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/7.184, allocations: 100.8 kB / 3.095 GB, free: 19.63 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/7.185, allocations: 280.7 kB / 3.095 GB, free: 19.27 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004766/7.185, allocations: 219.3 kB / 3.095 GB, free: 19.06 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/7.185, allocations: 4 kB / 3.095 GB, free: 19.06 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008461/7.186, allocations: 476.3 kB / 3.096 GB, free: 18.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003584/7.186, allocations: 1.825 MB / 3.098 GB, free: 16.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/7.186, allocations: 8 kB / 3.098 GB, free: 16.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/7.186, allocations: 8 kB / 3.098 GB, free: 16.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/7.187, allocations: 87.83 kB / 3.098 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/7.187, allocations: 11.94 kB / 3.098 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000478/7.187, allocations: 39.58 kB / 3.098 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-05/7.187, allocations: 23.98 kB / 3.098 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/7.187, allocations: 6.656 kB / 3.098 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007586/7.188, allocations: 390.6 kB / 3.098 GB, free: 16.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/7.188, allocations: 4 kB / 3.098 GB, free: 16.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/7.188, allocations: 8 kB / 3.098 GB, free: 16.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/7.189, allocations: 79.89 kB / 3.098 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/7.189, allocations: 12.5 kB / 3.098 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004117/7.189, allocations: 35.73 kB / 3.098 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.421e-05/7.189, allocations: 23.98 kB / 3.098 GB, free: 15.9 MB / 0.6823 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.0001268/7.189, allocations: 119.5 kB / 3.098 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.385e-05/7.189, allocations: 59.28 kB / 3.098 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007849/7.19, allocations: 368.4 kB / 3.099 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/7.19, allocations: 8 kB / 3.099 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/7.19, allocations: 0 / 3.099 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/7.19, allocations: 4 kB / 3.099 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/7.192, allocations: 1.145 MB / 3.1 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/7.192, allocations: 4 kB / 3.1 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/7.192, allocations: 51.84 kB / 3.1 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/7.192, allocations: 4 kB / 3.1 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/7.192, allocations: 4 kB / 3.1 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/7.192, allocations: 7.938 kB / 3.1 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/7.192, allocations: 7.984 kB / 3.1 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007597/7.193, allocations: 0.6184 MB / 3.101 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001225/7.194, allocations: 1.081 MB / 3.102 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/7.194, allocations: 160.4 kB / 3.102 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/7.195, allocations: 11.92 kB / 3.102 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/7.195, allocations: 19.89 kB / 3.102 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-05/7.195, allocations: 15.97 kB / 3.102 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-05/7.195, allocations: 16 kB / 3.102 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005365/7.196, allocations: 346.9 kB / 3.102 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003905/7.2, allocations: 0.718 MB / 3.103 GB, free: 10.86 MB / 0.6823 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.003256/7.203, allocations: 1.774 MB / 3.105 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009853/7.204, allocations: 460.5 kB / 3.105 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/7.204, allocations: 4.125 kB / 3.105 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002074/7.204, allocations: 127.8 kB / 3.105 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/7.205, allocations: 190.8 kB / 3.105 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004427/7.21, allocations: 1.519 MB / 3.107 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005206/7.21, allocations: 0.9701 MB / 3.108 GB, free: 5.781 MB / 0.6823 GB Notification: Performance of SimCode: time 1.362e-06/7.21, allocations: 0 / 3.108 GB, free: 5.781 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo IDEAS_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/IDEAS_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Humidifiers_Validation_SprayAirWasher_X_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Humidifiers_Validation_SprayAirWasher_X.fmu > IDEAS_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1)