Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.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.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier",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 1.059/1.059, allocations: 127.4 MB / 134.6 MB, free: 4.102 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.00137/0.00137, allocations: 181.3 kB / 164.4 MB, free: 6.891 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.102/2.102, allocations: 205.1 MB / 399.1 MB, free: 6.164 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.0009976/0.0009977, allocations: 85.64 kB / 476.3 MB, free: 8.902 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3737/0.3747, allocations: 82.88 MB / 0.5461 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.5683, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.528/6.097, allocations: 2.158 GB / 2.779 GB, free: 53.69 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003552/6.097, allocations: 93.02 kB / 2.779 GB, free: 53.6 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: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 5.468/11.56, allocations: 1.289 GB / 4.068 GB, free: 32.05 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/11.56, allocations: 8 kB / 4.068 GB, free: 32.04 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006438/11.57, allocations: 0.6493 MB / 4.069 GB, free: 31.39 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005892/11.58, allocations: 1.588 MB / 4.07 GB, free: 29.74 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/11.58, allocations: 44 kB / 4.071 GB, free: 29.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00058/11.58, allocations: 84 kB / 4.071 GB, free: 29.62 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00345/11.58, allocations: 1.282 MB / 4.072 GB, free: 28.33 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003605/11.59, allocations: 1.383 MB / 4.073 GB, free: 26.88 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.639e-05/11.59, allocations: 0 / 4.073 GB, free: 26.88 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003003/11.59, allocations: 4 kB / 4.073 GB, free: 26.88 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.396e-05/11.59, allocations: 50.56 kB / 4.073 GB, free: 26.83 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01247/11.6, allocations: 7.495 MB / 4.081 GB, free: 18.83 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/11.6, allocations: 0.7258 MB / 4.081 GB, free: 18.09 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000459/11.6, allocations: 370.6 kB / 4.082 GB, free: 17.72 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001948/11.6, allocations: 182.5 kB / 4.082 GB, free: 17.51 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/11.6, allocations: 51.2 kB / 4.082 GB, free: 17.45 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=66): time 3.507e-06/11.6, allocations: 0 / 4.082 GB, free: 17.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66): time 0.002744/11.6, allocations: 0.8771 MB / 4.083 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/11.6, allocations: 56.06 kB / 4.083 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/11.6, allocations: 0.9255 MB / 4.084 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000207/11.6, allocations: 29.7 kB / 4.084 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004051/11.61, allocations: 0.6078 MB / 4.084 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002916/11.61, allocations: 236.5 kB / 4.085 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.483e-05/11.61, allocations: 0 / 4.085 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.69e-05/11.61, allocations: 341.9 kB / 4.085 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005342/11.61, allocations: 345.8 kB / 4.085 GB, free: 14 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000647/11.61, allocations: 0.6264 MB / 4.086 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008044/11.61, allocations: 464.3 kB / 4.086 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/11.61, allocations: 0 / 4.086 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001956/11.61, allocations: 1.079 MB / 4.087 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006336/11.61, allocations: 2.823 MB / 4.09 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/11.61, allocations: 8 kB / 4.09 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.101e-05/11.61, allocations: 12 kB / 4.09 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/11.61, allocations: 231.6 kB / 4.09 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.861e-05/11.61, allocations: 12 kB / 4.09 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/11.61, allocations: 158.9 kB / 4.09 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/11.61, allocations: 43.98 kB / 4.09 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/11.61, allocations: 4 kB / 4.09 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001368/11.62, allocations: 0.883 MB / 4.091 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/11.62, allocations: 12.91 kB / 4.091 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/11.62, allocations: 16 kB / 4.091 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008909/11.62, allocations: 211.7 kB / 4.092 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/11.62, allocations: 15.94 kB / 4.092 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/11.62, allocations: 119.2 kB / 4.092 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/11.62, allocations: 43.98 kB / 4.092 GB, free: 6.93 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 2 (senMas1.i_x,senMas2.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 2 * 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.0003515/11.62, allocations: 136.4 kB / 4.092 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004689/11.62, allocations: 142.3 kB / 4.092 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/11.62, allocations: 0.798 MB / 4.093 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/11.62, allocations: 8 kB / 4.093 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/11.62, allocations: 0 / 4.093 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009879/11.62, allocations: 0.7927 MB / 4.094 GB, free: 4.988 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004141/11.63, allocations: 2.015 MB / 4.096 GB, free: 2.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/11.63, allocations: 4 kB / 4.096 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/11.63, allocations: 187.8 kB / 4.096 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.35e-05/11.63, allocations: 8 kB / 4.096 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.71e-05/11.63, allocations: 8 kB / 4.096 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/11.63, allocations: 8 kB / 4.096 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/11.63, allocations: 0 / 4.096 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001889/11.63, allocations: 1.366 MB / 4.097 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003397/11.63, allocations: 2.37 MB / 4.099 GB, free: 14.85 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/11.63, allocations: 335.2 kB / 4.1 GB, free: 14.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004109/11.63, allocations: 11.98 kB / 4.1 GB, free: 14.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/11.64, allocations: 95.75 kB / 4.1 GB, free: 14.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/11.64, allocations: 36.59 kB / 4.1 GB, free: 14.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/11.64, allocations: 35.97 kB / 4.1 GB, free: 14.33 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001386/11.64, allocations: 0.6972 MB / 4.101 GB, free: 13.63 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.008248/11.65, allocations: 1.939 MB / 4.102 GB, free: 11.69 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (humBac.vol.dynBal.U,humBac.vol.dynBal.m,humBac.vol.dynBal.mXi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m,humFor.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 70 * 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 Backend phase and start with SimCode phase: time 0.006953/11.65, allocations: 3.594 MB / 4.106 GB, free: 7.797 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003213/11.66, allocations: 1.44 MB / 4.107 GB, free: 6.336 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/11.66, allocations: 0 / 4.107 GB, free: 6.336 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006101/11.66, allocations: 354.3 kB / 4.108 GB, free: 5.992 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004437/11.66, allocations: 0.7129 MB / 4.108 GB, free: 5.285 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006793/11.67, allocations: 2.366 MB / 4.111 GB, free: 2.859 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002511/11.67, allocations: 1.54 MB / 4.112 GB, free: 1.289 MB / 0.698 GB Notification: Performance of SimCode: time 2.705e-06/11.67, allocations: 0 / 4.112 GB, free: 1.289 MB / 0.698 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)