Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.228/1.228, allocations: 249.4 MB / 256.7 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009269/0.000927, allocations: 189 kB / 316 MB, free: 3.559 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.224/1.224, allocations: 205.2 MB / 0.5667 GB, free: 15.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00098/0.0009802, allocations: 90.84 kB / 0.671 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3544/0.3554, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.5286, allocations: 106.3 MB / 0.8846 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.713/4.241, allocations: 2.206 GB / 3.09 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000194/4.242, allocations: 87.45 kB / 3.09 GB, free: 197.2 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 2.853/7.094, allocations: 1.008 GB / 4.099 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/7.094, allocations: 10.97 kB / 4.099 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003915/7.098, allocations: 0.6245 MB / 4.099 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003522/7.102, allocations: 1.475 MB / 4.101 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000348/7.102, allocations: 130.3 kB / 4.101 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/7.102, allocations: 74.44 kB / 4.101 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001748/7.104, allocations: 1.018 MB / 4.102 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/7.106, allocations: 1.241 MB / 4.103 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/7.106, allocations: 0 / 4.103 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/7.106, allocations: 3.812 kB / 4.103 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.866e-05/7.106, allocations: 42.28 kB / 4.103 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008401/7.115, allocations: 6.144 MB / 4.109 GB, free: 142 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006994/7.115, allocations: 0.5262 MB / 4.11 GB, free: 142 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005594/7.116, allocations: 445.6 kB / 4.11 GB, free: 142 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005986/7.116, allocations: 484.8 kB / 4.111 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006755/7.117, allocations: 0.5071 MB / 4.111 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=79): time 2.755e-06/7.117, allocations: 0 / 4.111 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=79): time 0.002867/7.12, allocations: 1.106 MB / 4.112 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/7.12, allocations: 190.3 kB / 4.112 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/7.121, allocations: 0.9403 MB / 4.113 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.534e-05/7.122, allocations: 28.36 kB / 4.113 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/7.122, allocations: 0.5049 MB / 4.114 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/7.122, allocations: 263.6 kB / 4.114 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/7.122, allocations: 4.656 kB / 4.114 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.127e-05/7.122, allocations: 337.9 kB / 4.114 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004696/7.123, allocations: 336.2 kB / 4.115 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000617/7.123, allocations: 0.5737 MB / 4.115 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008189/7.124, allocations: 469.3 kB / 4.116 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/7.124, allocations: 3.906 kB / 4.116 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002308/7.126, allocations: 1.111 MB / 4.117 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003933/7.127, allocations: 1.695 MB / 4.118 GB, free: 138 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/7.127, allocations: 9.25 kB / 4.118 GB, free: 138 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002104/7.127, allocations: 51.06 kB / 4.119 GB, free: 138 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/7.128, allocations: 209.3 kB / 4.119 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004149/7.129, allocations: 0.601 MB / 4.119 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/7.13, allocations: 162.8 kB / 4.119 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/7.13, allocations: 39.42 kB / 4.119 GB, free: 137.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/7.13, allocations: 3.375 kB / 4.119 GB, free: 137.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001877/7.132, allocations: 0.9147 MB / 4.12 GB, free: 137 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/7.132, allocations: 4.875 kB / 4.12 GB, free: 137 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000148/7.132, allocations: 51.39 kB / 4.12 GB, free: 137 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009286/7.133, allocations: 207.5 kB / 4.121 GB, free: 137 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/7.135, allocations: 1.464 MB / 4.122 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/7.136, allocations: 162.9 kB / 4.122 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/7.136, allocations: 34.75 kB / 4.122 GB, free: 135.6 MB / 0.8855 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.0003157/7.137, allocations: 168.9 kB / 4.122 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003753/7.137, allocations: 152.1 kB / 4.123 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/7.139, allocations: 1.052 MB / 4.124 GB, free: 135 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/7.139, allocations: 6.469 kB / 4.124 GB, free: 135 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/7.139, allocations: 4.562 kB / 4.124 GB, free: 134.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001473/7.141, allocations: 0.9399 MB / 4.125 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004996/7.146, allocations: 2.534 MB / 4.127 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/7.146, allocations: 3.062 kB / 4.127 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/7.147, allocations: 189.1 kB / 4.127 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001201/7.147, allocations: 38.84 kB / 4.127 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.479e-05/7.147, allocations: 20.59 kB / 4.127 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00034/7.147, allocations: 0.5872 MB / 4.128 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/7.147, allocations: 3.344 kB / 4.128 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002775/7.15, allocations: 1.824 MB / 4.13 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004189/7.154, allocations: 2.889 MB / 4.132 GB, free: 130 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/7.155, allocations: 353.5 kB / 4.133 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005065/7.156, allocations: 13.73 kB / 4.133 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/7.157, allocations: 125.5 kB / 4.133 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.786e-05/7.158, allocations: 42.3 kB / 4.133 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.002e-05/7.158, allocations: 37.53 kB / 4.133 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.00122/7.159, allocations: 0.7172 MB / 4.134 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005464/7.164, allocations: 1.57 MB / 4.135 GB, free: 128.6 MB / 0.8855 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.00333/7.168, allocations: 2.625 MB / 4.138 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002406/7.17, allocations: 1.522 MB / 4.139 GB, free: 127 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/7.17, allocations: 1.375 kB / 4.139 GB, free: 127 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006975/7.171, allocations: 490.4 kB / 4.14 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003249/7.174, allocations: 0.6674 MB / 4.14 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006958/7.181, allocations: 2.575 MB / 4.143 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001443/7.182, allocations: 1.499 MB / 4.144 GB, free: 125 MB / 0.8855 GB Notification: Performance of SimCode: time 7.81e-07/7.183, allocations: 0 / 4.144 GB, free: 125 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Humidifiers_Examples_Humidifier_u.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)