Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",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/BuildingSystems 2.0.0-master/package.mo): time 0.6825/0.6825, allocations: 141.8 MB / 149.1 MB, free: 13.49 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001243, allocations: 177.3 kB / 181.9 MB, free: 10.13 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 221.3 MB / 436 MB, free: 2.66 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009215/0.0009214, allocations: 101.8 kB / 0.507 GB, free: 17.79 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00172/0.00172, allocations: 272.4 kB / 0.5885 GB, free: 4.156 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4095/0.4112, allocations: 89.63 MB / 0.676 GB, free: 136.7 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.5511, allocations: 82.77 MB / 0.7568 GB, free: 83.77 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.329/3.88, allocations: 1.847 GB / 2.604 GB, free: 156.8 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/3.88, allocations: 90.05 kB / 2.604 GB, free: 156.7 MB / 0.6982 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 3.149/7.029, allocations: 0.9764 GB / 3.58 GB, free: 155.5 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/7.03, allocations: 12.78 kB / 3.58 GB, free: 155.5 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/7.031, allocations: 233.1 kB / 3.58 GB, free: 155.4 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/7.034, allocations: 0.8963 MB / 3.581 GB, free: 155.2 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/7.034, allocations: 10.53 kB / 3.581 GB, free: 155.2 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/7.034, allocations: 24.59 kB / 3.581 GB, free: 155.2 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006393/7.034, allocations: 351.8 kB / 3.582 GB, free: 155.2 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006667/7.035, allocations: 450 kB / 3.582 GB, free: 155.1 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/7.035, allocations: 0 / 3.582 GB, free: 155.1 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.019e-05/7.035, allocations: 2.469 kB / 3.582 GB, free: 155.1 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/7.035, allocations: 14.16 kB / 3.582 GB, free: 155.1 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002741/7.038, allocations: 2.255 MB / 3.584 GB, free: 153.8 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/7.038, allocations: 237.1 kB / 3.585 GB, free: 153.8 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/7.038, allocations: 117.2 kB / 3.585 GB, free: 153.7 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008769/7.039, allocations: 0.836 MB / 3.586 GB, free: 152.9 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002075/7.04, allocations: 200.1 kB / 3.586 GB, free: 152.8 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=26): time 1.813e-06/7.04, allocations: 0 / 3.586 GB, free: 152.8 MB / 0.7138 GB Notification: Performance of matching and sorting (n=26): time 0.001092/7.041, allocations: 404.6 kB / 3.586 GB, free: 152.8 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/7.041, allocations: 109.4 kB / 3.586 GB, free: 152.6 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000464/7.041, allocations: 451.8 kB / 3.587 GB, free: 152.5 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/7.041, allocations: 32.08 kB / 3.587 GB, free: 152.5 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/7.041, allocations: 251.7 kB / 3.587 GB, free: 152.3 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/7.041, allocations: 86.92 kB / 3.587 GB, free: 152.3 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/7.041, allocations: 0 / 3.587 GB, free: 152.3 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 7.964e-05/7.042, allocations: 370.8 kB / 3.587 GB, free: 152 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/7.042, allocations: 103.1 kB / 3.587 GB, free: 152 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/7.042, allocations: 292.3 kB / 3.588 GB, free: 151.8 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000462/7.042, allocations: 229.8 kB / 3.588 GB, free: 151.8 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/7.042, allocations: 0 / 3.588 GB, free: 151.8 MB / 0.7138 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008044/7.043, allocations: 477.3 kB / 3.588 GB, free: 151.7 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003303/7.044, allocations: 1.831 MB / 3.59 GB, free: 149.8 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/7.044, allocations: 10.53 kB / 3.59 GB, free: 149.8 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/7.044, allocations: 10.81 kB / 3.59 GB, free: 149.8 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/7.044, allocations: 85.31 kB / 3.59 GB, free: 149.8 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/7.044, allocations: 8.969 kB / 3.59 GB, free: 149.8 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004475/7.044, allocations: 45.12 kB / 3.59 GB, free: 149.8 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/7.044, allocations: 24.06 kB / 3.59 GB, free: 149.8 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 8.195e-06/7.044, allocations: 5.188 kB / 3.59 GB, free: 149.8 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007463/7.045, allocations: 399.2 kB / 3.591 GB, free: 149.8 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/7.045, allocations: 5.906 kB / 3.591 GB, free: 149.8 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/7.045, allocations: 7.781 kB / 3.591 GB, free: 149.8 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/7.046, allocations: 91.27 kB / 3.591 GB, free: 149.8 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/7.046, allocations: 12.05 kB / 3.591 GB, free: 149.8 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003937/7.046, allocations: 31.83 kB / 3.591 GB, free: 149.8 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-05/7.046, allocations: 28.7 kB / 3.591 GB, free: 149.8 MB / 0.7138 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 (47): * Single equations (assignments): 47 * 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.0001285/7.046, allocations: 123.2 kB / 3.591 GB, free: 149.7 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.925e-05/7.046, allocations: 60.22 kB / 3.591 GB, free: 149.6 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007588/7.047, allocations: 376 kB / 3.591 GB, free: 149.6 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/7.047, allocations: 3.906 kB / 3.591 GB, free: 149.6 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/7.047, allocations: 0 / 3.591 GB, free: 149.6 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/7.047, allocations: 3.609 kB / 3.591 GB, free: 149.6 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/7.049, allocations: 1.165 MB / 3.593 GB, free: 149.1 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/7.049, allocations: 0 / 3.593 GB, free: 149.1 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/7.049, allocations: 44.78 kB / 3.593 GB, free: 149.1 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/7.049, allocations: 3.75 kB / 3.593 GB, free: 149.1 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/7.049, allocations: 6.938 kB / 3.593 GB, free: 149.1 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/7.049, allocations: 8.75 kB / 3.593 GB, free: 149.1 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/7.049, allocations: 3.125 kB / 3.593 GB, free: 149.1 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008863/7.05, allocations: 0.7665 MB / 3.593 GB, free: 148.7 MB / 0.7138 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001267/7.051, allocations: 1.373 MB / 3.595 GB, free: 148 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/7.051, allocations: 164.2 kB / 3.595 GB, free: 147.8 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.049e-05/7.052, allocations: 7.344 kB / 3.595 GB, free: 147.8 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/7.052, allocations: 15.47 kB / 3.595 GB, free: 147.8 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/7.052, allocations: 16.7 kB / 3.595 GB, free: 147.8 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/7.052, allocations: 9.656 kB / 3.595 GB, free: 147.8 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.00035/7.052, allocations: 352.7 kB / 3.595 GB, free: 147.7 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.003113/7.055, allocations: 0.7294 MB / 3.596 GB, free: 147.7 MB / 0.7138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (hum.outCon.Xi) * 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 (27): * Single equations (assignments): 25 * 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.002684/7.058, allocations: 1.787 MB / 3.598 GB, free: 147.3 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.0007982/7.059, allocations: 489 kB / 3.598 GB, free: 147.3 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/7.059, allocations: 0 / 3.598 GB, free: 147.3 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/7.059, allocations: 127.1 kB / 3.598 GB, free: 147.3 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/7.06, allocations: 195.8 kB / 3.598 GB, free: 147.3 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00429/7.065, allocations: 1.59 MB / 3.6 GB, free: 147 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006064/7.065, allocations: 0.973 MB / 3.601 GB, free: 146.3 MB / 0.7138 GB Notification: Performance of SimCode: time 1.142e-06/7.065, allocations: 0 / 3.601 GB, free: 146.3 MB / 0.7138 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.fmu > BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1)