Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_9_Buildings_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.054/2.054, allocations: 387.2 MB / 394.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 186.6 kB / 487 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 221.4 MB / 0.7819 GB, free: 6.82 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009446/0.0009448, allocations: 104.1 kB / 0.9213 GB, free: 43.75 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.339/0.3399, allocations: 148.5 MB / 1.066 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8753/1.215, allocations: 142.3 MB / 1.205 GB, free: 72.66 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.591/4.806, allocations: 1.887 GB / 3.093 GB, free: 151.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/4.806, allocations: 82.95 kB / 3.093 GB, free: 151.9 MB / 1.151 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 2.181/6.988, allocations: 0.6063 GB / 3.699 GB, free: 295.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/6.988, allocations: 11.08 kB / 3.699 GB, free: 295.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/6.989, allocations: 236.7 kB / 3.699 GB, free: 295.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002071/6.991, allocations: 0.884 MB / 3.7 GB, free: 295.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/6.991, allocations: 11.38 kB / 3.7 GB, free: 295.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.86e-05/6.991, allocations: 26.47 kB / 3.7 GB, free: 295.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00052/6.992, allocations: 338.8 kB / 3.7 GB, free: 295.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000583/6.992, allocations: 455.3 kB / 3.701 GB, free: 295 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/6.992, allocations: 3.844 kB / 3.701 GB, free: 295 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/6.992, allocations: 0 / 3.701 GB, free: 295 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/6.992, allocations: 17.7 kB / 3.701 GB, free: 295 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002513/6.995, allocations: 2.259 MB / 3.703 GB, free: 293.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/6.995, allocations: 250.9 kB / 3.703 GB, free: 293.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/6.995, allocations: 121.5 kB / 3.703 GB, free: 293.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009312/6.996, allocations: 0.8306 MB / 3.704 GB, free: 292.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002451/6.997, allocations: 192.1 kB / 3.704 GB, free: 292.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=27): time 2.445e-06/6.997, allocations: 3.344 kB / 3.704 GB, free: 292.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=27): time 0.001054/6.998, allocations: 407.8 kB / 3.705 GB, free: 292.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/6.998, allocations: 113.9 kB / 3.705 GB, free: 292.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004437/6.998, allocations: 456.7 kB / 3.705 GB, free: 292.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/6.998, allocations: 25.7 kB / 3.705 GB, free: 292.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/6.998, allocations: 253.1 kB / 3.706 GB, free: 292.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.3e-05/6.999, allocations: 95.08 kB / 3.706 GB, free: 292.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/6.999, allocations: 0 / 3.706 GB, free: 292.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.59e-05/6.999, allocations: 374.9 kB / 3.706 GB, free: 291.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/6.999, allocations: 103.3 kB / 3.706 GB, free: 291.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/6.999, allocations: 289.7 kB / 3.706 GB, free: 291.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004578/7, allocations: 235.8 kB / 3.707 GB, free: 291.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/7, allocations: 0 / 3.707 GB, free: 291.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007855/7, allocations: 491.6 kB / 3.707 GB, free: 291.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003944/7.001, allocations: 1.827 MB / 3.709 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/7.001, allocations: 10.81 kB / 3.709 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/7.001, allocations: 10.5 kB / 3.709 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/7.001, allocations: 89.7 kB / 3.709 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/7.001, allocations: 7.625 kB / 3.709 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000395/7.002, allocations: 51.44 kB / 3.709 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/7.002, allocations: 24.95 kB / 3.709 GB, free: 289.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/7.002, allocations: 3.938 kB / 3.709 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00068/7.002, allocations: 407.1 kB / 3.709 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/7.002, allocations: 7.062 kB / 3.709 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.663e-06/7.002, allocations: 7.156 kB / 3.709 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/7.003, allocations: 89.91 kB / 3.71 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/7.003, allocations: 11.17 kB / 3.71 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/7.003, allocations: 36.45 kB / 3.71 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/7.003, allocations: 20.62 kB / 3.71 GB, free: 289.7 MB / 1.151 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 (49): * Single equations (assignments): 49 * 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.23e-05/7.003, allocations: 127.3 kB / 3.71 GB, free: 289.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.76e-05/7.003, allocations: 52.97 kB / 3.71 GB, free: 289.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007164/7.004, allocations: 386.9 kB / 3.71 GB, free: 289.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/7.004, allocations: 0 / 3.71 GB, free: 289.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/7.004, allocations: 3.844 kB / 3.71 GB, free: 289.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/7.004, allocations: 3.906 kB / 3.71 GB, free: 289.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/7.005, allocations: 1.172 MB / 3.711 GB, free: 289 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/7.005, allocations: 3.625 kB / 3.711 GB, free: 289 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/7.006, allocations: 47.17 kB / 3.711 GB, free: 289 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/7.006, allocations: 3.594 kB / 3.711 GB, free: 289 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/7.006, allocations: 15.62 kB / 3.711 GB, free: 289 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/7.006, allocations: 7.469 kB / 3.711 GB, free: 289 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/7.006, allocations: 3.906 kB / 3.711 GB, free: 289 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008565/7.007, allocations: 0.7743 MB / 3.712 GB, free: 288.6 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0013/7.008, allocations: 1.383 MB / 3.713 GB, free: 287.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/7.008, allocations: 168.5 kB / 3.714 GB, free: 287.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.67e-05/7.008, allocations: 7.547 kB / 3.714 GB, free: 287.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002761/7.008, allocations: 13.72 kB / 3.714 GB, free: 287.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/7.009, allocations: 28.09 kB / 3.714 GB, free: 287.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/7.009, allocations: 7.375 kB / 3.714 GB, free: 287.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003312/7.009, allocations: 351.1 kB / 3.714 GB, free: 287.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002778/7.012, allocations: 0.7312 MB / 3.715 GB, free: 287.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (hum.outCon.T,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 (28): * Single equations (assignments): 26 * 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.002429/7.014, allocations: 1.782 MB / 3.717 GB, free: 287.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007818/7.015, allocations: 0.4894 MB / 3.717 GB, free: 287.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/7.015, allocations: 0 / 3.717 GB, free: 287.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001719/7.015, allocations: 132.1 kB / 3.717 GB, free: 287.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009507/7.016, allocations: 196.5 kB / 3.717 GB, free: 287.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003895/7.02, allocations: 1.64 MB / 3.719 GB, free: 287 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004955/7.021, allocations: 0.9773 MB / 3.72 GB, free: 286.3 MB / 1.151 GB Notification: Performance of SimCode: time 2.51e-07/7.021, allocations: 0 / 3.72 GB, free: 286.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.fmu > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)