Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.4/2.4, allocations: 284.8 MB / 292.1 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001678/0.001677, allocations: 189.2 kB / 360.3 MB, free: 7.551 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.007/2.007, allocations: 205.1 MB / 0.6187 GB, free: 13.22 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002203/0.002201, allocations: 100.6 kB / 0.7317 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.3359/0.3382, allocations: 121.4 MB / 0.8502 GB, free: 8.867 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.6085, allocations: 115.2 MB / 0.9628 GB, free: 5.469 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.407/6.016, allocations: 2.081 GB / 3.044 GB, free: 94.46 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/6.016, allocations: 83.08 kB / 3.044 GB, free: 94.43 MB / 0.948 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 3.018/9.034, allocations: 0.6012 GB / 3.645 GB, free: 199.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/9.035, allocations: 7.781 kB / 3.645 GB, free: 199.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002564/9.037, allocations: 234.3 kB / 3.646 GB, free: 199.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004265/9.041, allocations: 0.8858 MB / 3.647 GB, free: 199.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.755e-05/9.042, allocations: 15.12 kB / 3.647 GB, free: 199.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/9.042, allocations: 25.75 kB / 3.647 GB, free: 199.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001173/9.043, allocations: 368.9 kB / 3.647 GB, free: 199.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/9.044, allocations: 438.8 kB / 3.647 GB, free: 199.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/9.044, allocations: 3.094 kB / 3.647 GB, free: 199.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.489e-05/9.044, allocations: 3.938 kB / 3.647 GB, free: 199.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.809e-05/9.044, allocations: 16.34 kB / 3.647 GB, free: 199.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004862/9.049, allocations: 2.259 MB / 3.65 GB, free: 197.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008516/9.05, allocations: 238.9 kB / 3.65 GB, free: 197.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004431/9.05, allocations: 121.9 kB / 3.65 GB, free: 197.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0024/9.053, allocations: 0.8275 MB / 3.651 GB, free: 196.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006371/9.054, allocations: 197.2 kB / 3.651 GB, free: 196.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 5.831e-06/9.054, allocations: 3.594 kB / 3.651 GB, free: 196.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=26): time 0.002899/9.057, allocations: 408 kB / 3.651 GB, free: 196.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/9.057, allocations: 103 kB / 3.651 GB, free: 196.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/9.058, allocations: 452.5 kB / 3.652 GB, free: 195.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/9.058, allocations: 29.03 kB / 3.652 GB, free: 195.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/9.059, allocations: 248.3 kB / 3.652 GB, free: 195.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/9.059, allocations: 88.8 kB / 3.652 GB, free: 195.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/9.059, allocations: 3.656 kB / 3.652 GB, free: 195.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001739/9.059, allocations: 366 kB / 3.653 GB, free: 195.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004487/9.059, allocations: 104.3 kB / 3.653 GB, free: 195.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006375/9.06, allocations: 299.2 kB / 3.653 GB, free: 194.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/9.061, allocations: 226.2 kB / 3.653 GB, free: 194.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/9.061, allocations: 3.875 kB / 3.653 GB, free: 194.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002398/9.064, allocations: 471.6 kB / 3.654 GB, free: 194.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004483/9.064, allocations: 1.828 MB / 3.655 GB, free: 192.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/9.064, allocations: 4.922 kB / 3.655 GB, free: 192.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.232e-05/9.064, allocations: 18.97 kB / 3.655 GB, free: 192.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007195/9.065, allocations: 87.88 kB / 3.655 GB, free: 192.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/9.065, allocations: 14.25 kB / 3.655 GB, free: 192.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008025/9.066, allocations: 42.88 kB / 3.656 GB, free: 192.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.817e-05/9.066, allocations: 26.84 kB / 3.656 GB, free: 192.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/9.066, allocations: 3.531 kB / 3.656 GB, free: 192.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001368/9.068, allocations: 395 kB / 3.656 GB, free: 192.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/9.068, allocations: 3.406 kB / 3.656 GB, free: 192.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/9.068, allocations: 6.812 kB / 3.656 GB, free: 192.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/9.068, allocations: 89.19 kB / 3.656 GB, free: 192.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/9.068, allocations: 18.41 kB / 3.656 GB, free: 192.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007236/9.069, allocations: 26.23 kB / 3.656 GB, free: 192.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.551e-05/9.069, allocations: 29.72 kB / 3.656 GB, free: 192.6 MB / 0.948 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.0001865/9.069, allocations: 116.7 kB / 3.656 GB, free: 192.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/9.069, allocations: 58 kB / 3.656 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/9.071, allocations: 374.3 kB / 3.657 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/9.071, allocations: 3.75 kB / 3.657 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/9.071, allocations: 6.094 kB / 3.657 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/9.071, allocations: 0 / 3.657 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002701/9.074, allocations: 1.16 MB / 3.658 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/9.074, allocations: 6.469 kB / 3.658 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000458/9.074, allocations: 43.77 kB / 3.658 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/9.074, allocations: 3.875 kB / 3.658 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/9.074, allocations: 11.19 kB / 3.658 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/9.074, allocations: 3.906 kB / 3.658 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/9.074, allocations: 0 / 3.658 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001683/9.076, allocations: 0.7724 MB / 3.659 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002333/9.078, allocations: 1.371 MB / 3.66 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003839/9.079, allocations: 166.9 kB / 3.66 GB, free: 189.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/9.079, allocations: 3.781 kB / 3.66 GB, free: 189.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005317/9.079, allocations: 14.52 kB / 3.66 GB, free: 189.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.684e-05/9.08, allocations: 18.12 kB / 3.66 GB, free: 189.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.824e-05/9.08, allocations: 11.78 kB / 3.66 GB, free: 189.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005952/9.08, allocations: 354.5 kB / 3.66 GB, free: 189.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004558/9.085, allocations: 0.7214 MB / 3.661 GB, free: 189.3 MB / 0.948 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.003907/9.089, allocations: 1.792 MB / 3.663 GB, free: 188.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001442/9.09, allocations: 486.2 kB / 3.663 GB, free: 188.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/9.09, allocations: 0 / 3.663 GB, free: 188.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003456/9.091, allocations: 130.1 kB / 3.663 GB, free: 188.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/9.093, allocations: 196.6 kB / 3.664 GB, free: 188.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007114/9.1, allocations: 1.584 MB / 3.665 GB, free: 188 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008335/9.101, allocations: 0.9693 MB / 3.666 GB, free: 187.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.794e-06/9.101, allocations: 3.844 kB / 3.666 GB, free: 187.3 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.fmu > Buildings_8.0.0_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)