Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",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.1-maint.8.0.x/package.mo): time 1.357/1.357, allocations: 285.5 MB / 292.8 MB, free: 0.6992 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 179.7 kB / 361.1 MB, free: 15.3 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.194/1.194, allocations: 205.1 MB / 0.6195 GB, free: 5.832 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008154/0.0008153, allocations: 89.47 kB / 0.7325 GB, free: 47.33 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.22/0.2208, allocations: 121.4 MB / 0.8511 GB, free: 12.65 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.542/0.7628, allocations: 115.3 MB / 0.9637 GB, free: 85.57 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.175/3.938, allocations: 2.086 GB / 3.05 GB, free: 24.33 MB / 0.9403 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/3.938, allocations: 83.95 kB / 3.05 GB, free: 24.25 MB / 0.9403 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 3.052/6.99, allocations: 1.038 GB / 4.089 GB, free: 51.55 MB / 0.9403 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/6.99, allocations: 8 kB / 4.089 GB, free: 51.54 MB / 0.9403 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003868/6.994, allocations: 0.6414 MB / 4.089 GB, free: 50.89 MB / 0.9403 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003364/6.997, allocations: 1.465 MB / 4.091 GB, free: 49.38 MB / 0.9403 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000346/6.998, allocations: 128.2 kB / 4.091 GB, free: 49.25 MB / 0.9403 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003461/6.998, allocations: 83.84 kB / 4.091 GB, free: 49.17 MB / 0.9403 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00222/7, allocations: 1.016 MB / 4.092 GB, free: 48.15 MB / 0.9403 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/7.003, allocations: 1.223 MB / 4.093 GB, free: 46.85 MB / 0.9403 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.106e-05/7.003, allocations: 7.938 kB / 4.093 GB, free: 46.84 MB / 0.9403 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/7.003, allocations: 0 / 4.093 GB, free: 46.84 MB / 0.9403 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.902e-05/7.003, allocations: 42.27 kB / 4.093 GB, free: 46.8 MB / 0.9403 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008708/7.012, allocations: 6.149 MB / 4.099 GB, free: 40.36 MB / 0.9403 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006917/7.012, allocations: 0.5264 MB / 4.1 GB, free: 39.83 MB / 0.9403 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004905/7.013, allocations: 455.2 kB / 4.1 GB, free: 39.39 MB / 0.9403 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005372/7.013, allocations: 482.1 kB / 4.101 GB, free: 38.82 MB / 0.9403 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005808/7.014, allocations: 0.5078 MB / 4.101 GB, free: 38.29 MB / 0.9403 GB Notification: Performance of pre-optimization done (n=79): time 2.545e-06/7.014, allocations: 0 / 4.101 GB, free: 38.29 MB / 0.9403 GB Notification: Performance of matching and sorting (n=79): time 0.002652/7.017, allocations: 1.108 MB / 4.102 GB, free: 37.18 MB / 0.9403 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/7.017, allocations: 192.6 kB / 4.102 GB, free: 36.94 MB / 0.9403 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/7.018, allocations: 0.9373 MB / 4.103 GB, free: 36 MB / 0.9403 GB Notification: Performance of collectPreVariables (initialization): time 8.468e-05/7.018, allocations: 29.7 kB / 4.103 GB, free: 35.96 MB / 0.9403 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/7.018, allocations: 0.5009 MB / 4.104 GB, free: 35.45 MB / 0.9403 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/7.018, allocations: 268 kB / 4.104 GB, free: 35.19 MB / 0.9403 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/7.018, allocations: 0 / 4.104 GB, free: 35.19 MB / 0.9403 GB Notification: Performance of setup shared object (initialization): time 4.997e-05/7.019, allocations: 338 kB / 4.104 GB, free: 34.85 MB / 0.9403 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004112/7.019, allocations: 333.9 kB / 4.105 GB, free: 34.53 MB / 0.9403 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005312/7.019, allocations: 0.5758 MB / 4.105 GB, free: 33.85 MB / 0.9403 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007191/7.02, allocations: 471.7 kB / 4.106 GB, free: 33.39 MB / 0.9403 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/7.02, allocations: 4 kB / 4.106 GB, free: 33.39 MB / 0.9403 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001702/7.022, allocations: 1.118 MB / 4.107 GB, free: 32.26 MB / 0.9403 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002293/7.022, allocations: 1.693 MB / 4.108 GB, free: 30.47 MB / 0.9403 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/7.022, allocations: 4 kB / 4.108 GB, free: 30.47 MB / 0.9403 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001488/7.022, allocations: 48.78 kB / 4.108 GB, free: 30.42 MB / 0.9403 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008623/7.023, allocations: 203.8 kB / 4.109 GB, free: 30.22 MB / 0.9403 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003201/7.024, allocations: 0.6068 MB / 4.109 GB, free: 29.59 MB / 0.9403 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/7.025, allocations: 163.3 kB / 4.109 GB, free: 29.43 MB / 0.9403 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-05/7.025, allocations: 44.05 kB / 4.109 GB, free: 29.38 MB / 0.9403 GB Notification: Performance of prepare postOptimizeDAE: time 7.063e-06/7.025, allocations: 4 kB / 4.109 GB, free: 29.38 MB / 0.9403 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001447/7.027, allocations: 0.919 MB / 4.11 GB, free: 28.46 MB / 0.9403 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/7.027, allocations: 7.938 kB / 4.11 GB, free: 28.45 MB / 0.9403 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001266/7.027, allocations: 52.73 kB / 4.11 GB, free: 28.39 MB / 0.9403 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008341/7.028, allocations: 204 kB / 4.111 GB, free: 28.2 MB / 0.9403 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/7.029, allocations: 1.458 MB / 4.112 GB, free: 26.62 MB / 0.9403 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/7.03, allocations: 163.3 kB / 4.112 GB, free: 26.46 MB / 0.9403 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-05/7.03, allocations: 36.25 kB / 4.112 GB, free: 26.42 MB / 0.9403 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002326/7.03, allocations: 170.5 kB / 4.112 GB, free: 26.24 MB / 0.9403 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/7.031, allocations: 146.2 kB / 4.112 GB, free: 26.1 MB / 0.9403 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/7.032, allocations: 1.05 MB / 4.114 GB, free: 25.03 MB / 0.9403 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/7.032, allocations: 8 kB / 4.114 GB, free: 25.02 MB / 0.9403 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/7.032, allocations: 0 / 4.114 GB, free: 25.02 MB / 0.9403 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001248/7.034, allocations: 0.9484 MB / 4.114 GB, free: 24.04 MB / 0.9403 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003619/7.037, allocations: 2.55 MB / 4.117 GB, free: 21.41 MB / 0.9403 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-06/7.037, allocations: 4 kB / 4.117 GB, free: 21.4 MB / 0.9403 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009205/7.038, allocations: 192 kB / 4.117 GB, free: 21.21 MB / 0.9403 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.133e-05/7.038, allocations: 44.75 kB / 4.117 GB, free: 21.17 MB / 0.9403 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.113e-05/7.038, allocations: 12 kB / 4.117 GB, free: 21.16 MB / 0.9403 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002426/7.039, allocations: 0.5874 MB / 4.118 GB, free: 20.54 MB / 0.9403 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/7.039, allocations: 4 kB / 4.118 GB, free: 20.54 MB / 0.9403 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002026/7.041, allocations: 1.831 MB / 4.12 GB, free: 18.59 MB / 0.9403 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002942/7.044, allocations: 2.898 MB / 4.122 GB, free: 15.57 MB / 0.9403 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005709/7.044, allocations: 343 kB / 4.123 GB, free: 15.21 MB / 0.9403 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002536/7.045, allocations: 4 kB / 4.123 GB, free: 15.21 MB / 0.9403 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/7.046, allocations: 131.7 kB / 4.123 GB, free: 15.08 MB / 0.9403 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.118e-05/7.046, allocations: 52.44 kB / 4.123 GB, free: 15.03 MB / 0.9403 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.286e-05/7.046, allocations: 31.98 kB / 4.123 GB, free: 15 MB / 0.9403 GB Notification: Performance of sort global known variables: time 0.0008425/7.047, allocations: 0.7111 MB / 4.124 GB, free: 14.29 MB / 0.9403 GB Notification: Performance of remove unused functions: time 0.00478/7.052, allocations: 1.576 MB / 4.125 GB, free: 12.71 MB / 0.9403 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.U,humDyn.vol.dynBal.mXi[1],senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003474/7.055, allocations: 2.628 MB / 4.128 GB, free: 9.895 MB / 0.9403 GB Notification: Performance of simCode: created initialization part: time 0.002327/7.057, allocations: 1.524 MB / 4.129 GB, free: 8.348 MB / 0.9403 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/7.057, allocations: 8.5 kB / 4.129 GB, free: 8.34 MB / 0.9403 GB Notification: Performance of simCode: created simulation system equations: time 0.0006049/7.058, allocations: 491.9 kB / 4.13 GB, free: 7.855 MB / 0.9403 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003298/7.061, allocations: 0.6735 MB / 4.13 GB, free: 7.188 MB / 0.9403 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007036/7.068, allocations: 2.57 MB / 4.133 GB, free: 4.547 MB / 0.9403 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001326/7.07, allocations: 1.493 MB / 4.134 GB, free: 3.023 MB / 0.9403 GB Notification: Performance of SimCode: time 8.22e-07/7.07, allocations: 0 / 4.134 GB, free: 3.023 MB / 0.9403 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Humidifiers_Examples_Humidifier_u.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)