Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7467/0.7467, allocations: 127.4 MB / 134.6 MB, free: 4.09 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 185.3 kB / 164.4 MB, free: 6.887 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.1 MB / 399.1 MB, free: 6.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009633/0.0009634, allocations: 95.61 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3677/0.3687, allocations: 82.88 MB / 0.546 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.5641, allocations: 76.75 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.467/6.031, allocations: 2.164 GB / 2.785 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/6.031, allocations: 91.94 kB / 2.785 GB, free: 2.426 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 4.907/10.94, allocations: 1.033 GB / 3.818 GB, free: 1.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/10.94, allocations: 8 kB / 3.818 GB, free: 1.973 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005208/10.94, allocations: 0.6258 MB / 3.818 GB, free: 1.344 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5572/11.5, allocations: 1.616 MB / 3.82 GB, free: 88.83 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.399e-05/11.5, allocations: 37.22 kB / 3.82 GB, free: 88.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002787/11.5, allocations: 81.53 kB / 3.82 GB, free: 88.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002204/11.5, allocations: 0.9816 MB / 3.821 GB, free: 88.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/11.51, allocations: 1.214 MB / 3.822 GB, free: 88.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/11.51, allocations: 3.906 kB / 3.822 GB, free: 88.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/11.51, allocations: 7.516 kB / 3.822 GB, free: 88.62 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.325e-05/11.51, allocations: 42.48 kB / 3.822 GB, free: 88.62 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/11.52, allocations: 5.91 MB / 3.828 GB, free: 86.12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007192/11.52, allocations: 0.5013 MB / 3.828 GB, free: 86.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005209/11.52, allocations: 417.3 kB / 3.829 GB, free: 86.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006229/11.52, allocations: 465.6 kB / 3.829 GB, free: 85.62 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006408/11.52, allocations: 498.7 kB / 3.83 GB, free: 85.54 MB / 0.698 GB Notification: Performance of pre-optimization done (n=78): time 3.327e-06/11.52, allocations: 0 / 3.83 GB, free: 85.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=78): time 0.004127/11.52, allocations: 1.156 MB / 3.831 GB, free: 85.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.642e-05/11.52, allocations: 191.9 kB / 3.831 GB, free: 85.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/11.53, allocations: 0.8996 MB / 3.832 GB, free: 85.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001623/11.53, allocations: 29.48 kB / 3.832 GB, free: 85.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004968/11.53, allocations: 0.5105 MB / 3.832 GB, free: 84.81 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000252/11.53, allocations: 268.8 kB / 3.833 GB, free: 84.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/11.53, allocations: 0 / 3.833 GB, free: 84.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.438e-05/11.53, allocations: 347 kB / 3.833 GB, free: 84.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/11.53, allocations: 309.8 kB / 3.833 GB, free: 84.37 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000624/11.53, allocations: 0.555 MB / 3.834 GB, free: 84.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000902/11.53, allocations: 444.5 kB / 3.834 GB, free: 84.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/11.53, allocations: 3.094 kB / 3.834 GB, free: 84.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002942/11.53, allocations: 1.137 MB / 3.835 GB, free: 83.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004066/11.53, allocations: 1.714 MB / 3.837 GB, free: 82.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/11.53, allocations: 6.453 kB / 3.837 GB, free: 82.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002261/11.53, allocations: 53.84 kB / 3.837 GB, free: 82.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008636/11.53, allocations: 175.1 kB / 3.837 GB, free: 82.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005169/11.53, allocations: 0.5998 MB / 3.838 GB, free: 81.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/11.53, allocations: 134.8 kB / 3.838 GB, free: 81.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/11.54, allocations: 38.84 kB / 3.838 GB, free: 81.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/11.54, allocations: 3.844 kB / 3.838 GB, free: 81.69 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001862/11.54, allocations: 0.9404 MB / 3.839 GB, free: 81.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/11.54, allocations: 3.5 kB / 3.839 GB, free: 81.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000129/11.54, allocations: 49.27 kB / 3.839 GB, free: 81.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007289/11.54, allocations: 161.5 kB / 3.839 GB, free: 81.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/11.54, allocations: 1.43 MB / 3.84 GB, free: 80.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/11.54, allocations: 105.5 kB / 3.841 GB, free: 80.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/11.54, allocations: 40.03 kB / 3.841 GB, free: 80.29 MB / 0.698 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.0003159/11.54, allocations: 157.6 kB / 3.841 GB, free: 80.15 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002142/11.54, allocations: 149.4 kB / 3.841 GB, free: 80.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002978/11.54, allocations: 1.067 MB / 3.842 GB, free: 79.99 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/11.54, allocations: 6.969 kB / 3.842 GB, free: 79.99 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/11.54, allocations: 0 / 3.842 GB, free: 79.99 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002149/11.55, allocations: 0.9581 MB / 3.843 GB, free: 79.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005416/11.55, allocations: 2.454 MB / 3.845 GB, free: 79.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/11.55, allocations: 3.969 kB / 3.845 GB, free: 79.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009165/11.55, allocations: 161.5 kB / 3.845 GB, free: 79.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001542/11.55, allocations: 42.91 kB / 3.845 GB, free: 79.41 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.557e-05/11.55, allocations: 18.38 kB / 3.845 GB, free: 79.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00254/11.56, allocations: 1.578 MB / 3.847 GB, free: 78.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/11.56, allocations: 0 / 3.847 GB, free: 78.14 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00365/11.56, allocations: 1.785 MB / 3.849 GB, free: 77.67 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005251/11.56, allocations: 2.815 MB / 3.852 GB, free: 76.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/11.57, allocations: 330.5 kB / 3.852 GB, free: 76.65 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000252/11.57, allocations: 10.03 kB / 3.852 GB, free: 76.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/11.57, allocations: 95.72 kB / 3.852 GB, free: 76.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/11.57, allocations: 46.66 kB / 3.852 GB, free: 76.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-05/11.57, allocations: 31.14 kB / 3.852 GB, free: 76.65 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001133/11.57, allocations: 0.6877 MB / 3.853 GB, free: 76.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005939/11.57, allocations: 1.547 MB / 3.854 GB, free: 76.48 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (69): * Single equations (assignments): 67 * 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.005259/11.58, allocations: 2.67 MB / 3.857 GB, free: 75.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003425/11.58, allocations: 1.457 MB / 3.858 GB, free: 75.49 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-05/11.58, allocations: 3 kB / 3.858 GB, free: 75.49 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000917/11.58, allocations: 0.5659 MB / 3.859 GB, free: 75.36 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004205/11.59, allocations: 0.6409 MB / 3.859 GB, free: 75.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007367/11.6, allocations: 2.507 MB / 3.862 GB, free: 74.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/11.6, allocations: 1.488 MB / 3.863 GB, free: 74 MB / 0.698 GB Notification: Performance of SimCode: time 9.42e-07/11.6, allocations: 3.062 kB / 3.863 GB, free: 74 MB / 0.698 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Humidifiers_Examples_Humidifier_u.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)