Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X.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,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SteamHumidifier_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SteamHumidifier_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/BuildingSystems 2.0.0-master/package.mo): time 0.7089/0.7089, allocations: 141.8 MB / 149.1 MB, free: 11.89 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.001021/0.001021, allocations: 189.8 kB / 182 MB, free: 8.645 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.235/1.235, allocations: 221.3 MB / 436 MB, free: 0.9375 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.0009134/0.0009135, allocations: 98.72 kB / 0.507 GB, free: 17.7 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001743/0.001743, allocations: 272.1 kB / 0.5884 GB, free: 2.594 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3764/0.3781, allocations: 89.63 MB / 0.676 GB, free: 136.3 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.5177, allocations: 82.79 MB / 0.7568 GB, free: 81.17 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.501/4.019, allocations: 1.848 GB / 2.605 GB, free: 194.9 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/4.019, allocations: 94.06 kB / 2.605 GB, free: 194.8 MB / 0.7138 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.892/5.911, allocations: 0.6065 GB / 3.212 GB, free: 117.6 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/5.911, allocations: 12 kB / 3.212 GB, free: 117.5 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/5.912, allocations: 233.1 kB / 3.212 GB, free: 117.3 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002983/5.915, allocations: 0.8869 MB / 3.213 GB, free: 116.6 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/5.915, allocations: 12 kB / 3.213 GB, free: 116.6 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/5.916, allocations: 24 kB / 3.213 GB, free: 116.5 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000746/5.916, allocations: 347.1 kB / 3.213 GB, free: 116.3 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007823/5.917, allocations: 445.6 kB / 3.213 GB, free: 116 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/5.917, allocations: 0 / 3.213 GB, free: 116 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/5.917, allocations: 3.375 kB / 3.213 GB, free: 116 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-05/5.917, allocations: 24.08 kB / 3.213 GB, free: 116 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003377/5.921, allocations: 2.253 MB / 3.216 GB, free: 113.9 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003569/5.921, allocations: 220.6 kB / 3.216 GB, free: 113.7 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/5.921, allocations: 125.4 kB / 3.216 GB, free: 113.6 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/5.922, allocations: 0.8275 MB / 3.217 GB, free: 112.6 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/5.922, allocations: 185.1 kB / 3.217 GB, free: 112.4 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=25): time 2.174e-06/5.922, allocations: 3.938 kB / 3.217 GB, free: 112.4 MB / 0.7138 GB Notification: Performance of matching and sorting (n=25): time 0.001254/5.924, allocations: 403.9 kB / 3.217 GB, free: 112 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/5.924, allocations: 113.9 kB / 3.217 GB, free: 111.8 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005217/5.924, allocations: 454.3 kB / 3.218 GB, free: 111.4 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/5.924, allocations: 29.31 kB / 3.218 GB, free: 111.4 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/5.924, allocations: 255.6 kB / 3.218 GB, free: 111.1 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 6.528e-05/5.925, allocations: 82.84 kB / 3.218 GB, free: 111 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.745e-05/5.925, allocations: 0 / 3.218 GB, free: 111 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0001114/5.925, allocations: 374.2 kB / 3.219 GB, free: 110.6 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/5.925, allocations: 100.7 kB / 3.219 GB, free: 110.5 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/5.925, allocations: 285.2 kB / 3.219 GB, free: 110.2 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/5.926, allocations: 217 kB / 3.219 GB, free: 110 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/5.926, allocations: 4 kB / 3.219 GB, free: 110 MB / 0.7138 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008695/5.926, allocations: 469.5 kB / 3.22 GB, free: 109.5 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003747/5.927, allocations: 1.828 MB / 3.221 GB, free: 107.6 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/5.927, allocations: 8 kB / 3.221 GB, free: 107.6 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/5.927, allocations: 11.91 kB / 3.221 GB, free: 107.5 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/5.927, allocations: 83.83 kB / 3.222 GB, free: 107.5 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/5.927, allocations: 11.66 kB / 3.222 GB, free: 107.5 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/5.928, allocations: 35.67 kB / 3.222 GB, free: 107.4 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/5.928, allocations: 24 kB / 3.222 GB, free: 107.4 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/5.928, allocations: 4 kB / 3.222 GB, free: 107.4 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007159/5.929, allocations: 391.6 kB / 3.222 GB, free: 107 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/5.929, allocations: 4 kB / 3.222 GB, free: 107 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-06/5.929, allocations: 8 kB / 3.222 GB, free: 107 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/5.929, allocations: 83.83 kB / 3.222 GB, free: 106.9 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/5.929, allocations: 11.94 kB / 3.222 GB, free: 106.9 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/5.929, allocations: 35.45 kB / 3.222 GB, free: 106.9 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-05/5.929, allocations: 23.98 kB / 3.222 GB, free: 106.9 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 (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.0001615/5.93, allocations: 120.8 kB / 3.222 GB, free: 106.7 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/5.93, allocations: 51.34 kB / 3.222 GB, free: 106.7 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000859/5.931, allocations: 368.3 kB / 3.223 GB, free: 106.3 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/5.931, allocations: 4 kB / 3.223 GB, free: 106.3 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/5.931, allocations: 4 kB / 3.223 GB, free: 106.3 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/5.931, allocations: 3.906 kB / 3.223 GB, free: 106.3 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/5.933, allocations: 1.153 MB / 3.224 GB, free: 105.1 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/5.933, allocations: 0 / 3.224 GB, free: 105.1 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/5.933, allocations: 47.91 kB / 3.224 GB, free: 105.1 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/5.933, allocations: 4 kB / 3.224 GB, free: 105.1 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/5.933, allocations: 18.88 kB / 3.224 GB, free: 105 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/5.933, allocations: 0 / 3.224 GB, free: 105 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/5.933, allocations: 8.031 kB / 3.224 GB, free: 105 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008821/5.934, allocations: 0.6191 MB / 3.224 GB, free: 104.3 MB / 0.7138 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001288/5.935, allocations: 1.07 MB / 3.226 GB, free: 103.2 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004237/5.936, allocations: 168.2 kB / 3.226 GB, free: 103 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/5.936, allocations: 11.98 kB / 3.226 GB, free: 103 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/5.936, allocations: 11.78 kB / 3.226 GB, free: 103 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.842e-05/5.936, allocations: 23.81 kB / 3.226 GB, free: 102.9 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/5.936, allocations: 12 kB / 3.226 GB, free: 102.9 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.0006272/5.937, allocations: 350.9 kB / 3.226 GB, free: 102.6 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.003642/5.941, allocations: 0.7141 MB / 3.227 GB, free: 101.9 MB / 0.7138 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.003029/5.944, allocations: 1.793 MB / 3.229 GB, free: 100.5 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.0009137/5.945, allocations: 460.5 kB / 3.229 GB, free: 100 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/5.945, allocations: 0 / 3.229 GB, free: 100 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/5.945, allocations: 120.5 kB / 3.229 GB, free: 99.92 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/5.946, allocations: 200.3 kB / 3.229 GB, free: 99.73 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004385/5.95, allocations: 1.523 MB / 3.231 GB, free: 98.2 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00052/5.951, allocations: 0.9712 MB / 3.232 GB, free: 97.2 MB / 0.7138 GB Notification: Performance of SimCode: time 1.092e-06/5.951, allocations: 0 / 3.232 GB, free: 97.2 MB / 0.7138 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SteamHumidifier_X_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SteamHumidifier_X.fmu > BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1)