Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_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.SteamHumidifier_X_dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SteamHumidifier_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.7203/0.7203, allocations: 141.8 MB / 149.1 MB, free: 13.2 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.001143/0.001143, allocations: 189.1 kB / 182 MB, free: 9.906 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.201/1.201, allocations: 221.3 MB / 436 MB, free: 2.406 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.0009169/0.000917, allocations: 98.42 kB / 0.507 GB, free: 17.72 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001805/0.001805, allocations: 261.8 kB / 0.5884 GB, free: 3.934 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3619/0.3637, allocations: 89.64 MB / 0.676 GB, free: 136.7 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.5045, allocations: 82.78 MB / 0.7568 GB, free: 83.39 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.155/3.659, allocations: 1.848 GB / 2.605 GB, free: 152.1 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003399/3.66, allocations: 91.94 kB / 2.605 GB, free: 152 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 1.809/5.469, allocations: 0.6066 GB / 3.212 GB, free: 67.09 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/5.469, allocations: 12 kB / 3.212 GB, free: 67.08 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001368/5.471, allocations: 242.8 kB / 3.212 GB, free: 66.84 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002312/5.473, allocations: 0.8828 MB / 3.213 GB, free: 65.95 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/5.473, allocations: 15.94 kB / 3.213 GB, free: 65.93 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.114e-05/5.473, allocations: 24 kB / 3.213 GB, free: 65.91 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005691/5.474, allocations: 357.4 kB / 3.213 GB, free: 65.55 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006337/5.474, allocations: 443 kB / 3.214 GB, free: 65.11 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/5.474, allocations: 0 / 3.214 GB, free: 65.11 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/5.474, allocations: 0 / 3.214 GB, free: 65.11 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/5.474, allocations: 20.77 kB / 3.214 GB, free: 65.08 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002632/5.477, allocations: 2.267 MB / 3.216 GB, free: 62.62 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/5.477, allocations: 234.7 kB / 3.216 GB, free: 62.38 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/5.478, allocations: 128.8 kB / 3.216 GB, free: 62.25 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008953/5.479, allocations: 0.826 MB / 3.217 GB, free: 61.26 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/5.479, allocations: 185.7 kB / 3.217 GB, free: 61.05 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=26): time 1.694e-06/5.479, allocations: 0 / 3.217 GB, free: 61.05 MB / 0.6982 GB Notification: Performance of matching and sorting (n=26): time 0.001058/5.48, allocations: 414.9 kB / 3.218 GB, free: 60.65 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/5.48, allocations: 111 kB / 3.218 GB, free: 60.52 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004429/5.48, allocations: 450.3 kB / 3.218 GB, free: 60.07 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/5.48, allocations: 29.7 kB / 3.218 GB, free: 60.04 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/5.48, allocations: 255.5 kB / 3.218 GB, free: 59.78 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 5.51e-05/5.481, allocations: 86.8 kB / 3.218 GB, free: 59.69 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-05/5.481, allocations: 7.875 kB / 3.218 GB, free: 59.68 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 8.085e-05/5.481, allocations: 366.8 kB / 3.219 GB, free: 59.32 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/5.481, allocations: 101.6 kB / 3.219 GB, free: 59.22 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/5.481, allocations: 296.3 kB / 3.219 GB, free: 58.84 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004605/5.481, allocations: 232.1 kB / 3.219 GB, free: 58.62 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/5.481, allocations: 0 / 3.219 GB, free: 58.62 MB / 0.6982 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008089/5.482, allocations: 476.4 kB / 3.22 GB, free: 58.14 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002999/5.483, allocations: 1.835 MB / 3.222 GB, free: 56.17 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/5.483, allocations: 8 kB / 3.222 GB, free: 56.16 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/5.483, allocations: 4 kB / 3.222 GB, free: 56.16 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/5.483, allocations: 87.89 kB / 3.222 GB, free: 56.07 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/5.483, allocations: 11.94 kB / 3.222 GB, free: 56.06 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004002/5.483, allocations: 47.52 kB / 3.222 GB, free: 56.01 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.895e-05/5.483, allocations: 23.98 kB / 3.222 GB, free: 55.99 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 7.744e-06/5.483, allocations: 4 kB / 3.222 GB, free: 55.98 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006953/5.484, allocations: 398.3 kB / 3.222 GB, free: 55.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/5.484, allocations: 4 kB / 3.222 GB, free: 55.59 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.673e-06/5.484, allocations: 8 kB / 3.222 GB, free: 55.59 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/5.485, allocations: 83.83 kB / 3.222 GB, free: 55.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/5.485, allocations: 8.547 kB / 3.222 GB, free: 55.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/5.485, allocations: 39.73 kB / 3.222 GB, free: 55.46 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/5.485, allocations: 20 kB / 3.222 GB, free: 55.44 MB / 0.6982 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 9.763e-05/5.485, allocations: 124.8 kB / 3.222 GB, free: 55.31 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.599e-05/5.485, allocations: 59.23 kB / 3.223 GB, free: 55.25 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006981/5.486, allocations: 362.2 kB / 3.223 GB, free: 54.89 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/5.486, allocations: 8 kB / 3.223 GB, free: 54.88 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/5.486, allocations: 0 / 3.223 GB, free: 54.88 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/5.486, allocations: 3.984 kB / 3.223 GB, free: 54.88 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/5.487, allocations: 1.164 MB / 3.224 GB, free: 53.64 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/5.487, allocations: 0 / 3.224 GB, free: 53.64 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/5.488, allocations: 51.91 kB / 3.224 GB, free: 53.59 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/5.488, allocations: 4 kB / 3.224 GB, free: 53.59 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/5.488, allocations: 4.234 kB / 3.224 GB, free: 53.58 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/5.488, allocations: 7.938 kB / 3.224 GB, free: 53.57 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/5.488, allocations: 7.984 kB / 3.224 GB, free: 53.57 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000853/5.488, allocations: 0.7715 MB / 3.225 GB, free: 52.7 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00123/5.49, allocations: 1.362 MB / 3.226 GB, free: 51.24 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/5.49, allocations: 172.2 kB / 3.226 GB, free: 51.05 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.473e-05/5.49, allocations: 3.984 kB / 3.226 GB, free: 51.05 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/5.49, allocations: 12.06 kB / 3.226 GB, free: 51.04 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/5.49, allocations: 27.88 kB / 3.226 GB, free: 51.01 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/5.49, allocations: 12.09 kB / 3.226 GB, free: 51 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0003038/5.491, allocations: 354.8 kB / 3.227 GB, free: 50.65 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.003279/5.494, allocations: 0.718 MB / 3.227 GB, free: 49.93 MB / 0.6982 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.002091/5.496, allocations: 1.788 MB / 3.229 GB, free: 48.18 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0006613/5.497, allocations: 477.2 kB / 3.23 GB, free: 47.71 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/5.497, allocations: 3.938 kB / 3.23 GB, free: 47.71 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/5.497, allocations: 131.9 kB / 3.23 GB, free: 47.58 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009052/5.498, allocations: 195.7 kB / 3.23 GB, free: 47.39 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003871/5.502, allocations: 1.579 MB / 3.231 GB, free: 45.77 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004806/5.502, allocations: 0.9771 MB / 3.232 GB, free: 44.76 MB / 0.6982 GB Notification: Performance of SimCode: time 2.81e-07/5.502, allocations: 4 kB / 3.232 GB, free: 44.76 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.fmu > BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)