Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IDEAS_dev_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.005564/0.005564, allocations: 180.2 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7095/0.7095, allocations: 133.5 MB / 141.4 MB, free: 15.67 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 221.3 MB / 395 MB, free: 10.17 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009559/0.0009561, allocations: 102.1 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4339/0.4348, allocations: 88.42 MB / 0.5529 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.6013, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.929/4.531, allocations: 1.891 GB / 2.524 GB, free: 70.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/4.531, allocations: 91.94 kB / 2.524 GB, free: 70.55 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 4.867/9.398, allocations: 1.309 GB / 3.833 GB, free: 75.49 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/9.398, allocations: 10.47 kB / 3.833 GB, free: 75.49 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00531/9.403, allocations: 0.6511 MB / 3.834 GB, free: 75.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00505/9.408, allocations: 1.772 MB / 3.835 GB, free: 74.94 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.271e-05/9.408, allocations: 40.88 kB / 3.835 GB, free: 74.94 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002359/9.408, allocations: 87.88 kB / 3.836 GB, free: 74.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002695/9.411, allocations: 1.209 MB / 3.837 GB, free: 74.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002387/9.413, allocations: 1.301 MB / 3.838 GB, free: 74.71 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.813e-05/9.414, allocations: 0 / 3.838 GB, free: 74.71 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/9.414, allocations: 3.156 kB / 3.838 GB, free: 74.71 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.577e-05/9.414, allocations: 46.45 kB / 3.838 GB, free: 74.71 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01187/9.426, allocations: 7.276 MB / 3.845 GB, free: 69.79 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/9.427, allocations: 0.6534 MB / 3.846 GB, free: 69.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000764/9.428, allocations: 374.9 kB / 3.846 GB, free: 69.37 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004954/9.428, allocations: 274 kB / 3.846 GB, free: 69.08 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.576e-05/9.429, allocations: 46.16 kB / 3.846 GB, free: 69.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=67): time 5.63e-06/9.429, allocations: 0 / 3.846 GB, free: 69.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=67): time 0.003285/9.432, allocations: 0.8063 MB / 3.847 GB, free: 68.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/9.432, allocations: 59.98 kB / 3.847 GB, free: 68.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/9.434, allocations: 0.9231 MB / 3.848 GB, free: 68.26 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001587/9.434, allocations: 31.83 kB / 3.848 GB, free: 68.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005368/9.435, allocations: 0.5722 MB / 3.849 GB, free: 67.81 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003335/9.435, allocations: 232.8 kB / 3.849 GB, free: 67.63 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/9.435, allocations: 0 / 3.849 GB, free: 67.63 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001291/9.435, allocations: 337.9 kB / 3.849 GB, free: 67.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006262/9.436, allocations: 304.1 kB / 3.85 GB, free: 67.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008937/9.437, allocations: 0.6232 MB / 3.85 GB, free: 66.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008617/9.438, allocations: 412.3 kB / 3.851 GB, free: 66.51 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/9.438, allocations: 2.938 kB / 3.851 GB, free: 66.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001849/9.44, allocations: 0.9843 MB / 3.852 GB, free: 66.11 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007939/9.44, allocations: 2.474 MB / 3.854 GB, free: 63.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/9.44, allocations: 10.41 kB / 3.854 GB, free: 63.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.187e-05/9.44, allocations: 13.19 kB / 3.854 GB, free: 63.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009804/9.441, allocations: 196.2 kB / 3.854 GB, free: 63.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-05/9.441, allocations: 18.98 kB / 3.854 GB, free: 63.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/9.443, allocations: 133.6 kB / 3.854 GB, free: 63.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/9.444, allocations: 36.97 kB / 3.854 GB, free: 63.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/9.444, allocations: 4.938 kB / 3.854 GB, free: 63.44 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001243/9.445, allocations: 0.8082 MB / 3.855 GB, free: 63.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/9.445, allocations: 5.875 kB / 3.855 GB, free: 63.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/9.445, allocations: 12.56 kB / 3.855 GB, free: 63.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008226/9.446, allocations: 192.4 kB / 3.855 GB, free: 63.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/9.446, allocations: 22.33 kB / 3.855 GB, free: 63.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/9.447, allocations: 113.6 kB / 3.856 GB, free: 63.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.389e-05/9.447, allocations: 35.84 kB / 3.856 GB, free: 63.09 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 111 * 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.0003089/9.448, allocations: 130.3 kB / 3.856 GB, free: 62.97 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002801/9.448, allocations: 140.4 kB / 3.856 GB, free: 62.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/9.45, allocations: 0.7756 MB / 3.857 GB, free: 62.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/9.45, allocations: 7.062 kB / 3.857 GB, free: 62.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/9.45, allocations: 2.688 kB / 3.857 GB, free: 62.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0012/9.451, allocations: 0.7643 MB / 3.857 GB, free: 62.13 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004604/9.456, allocations: 2.178 MB / 3.859 GB, free: 61.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/9.456, allocations: 5.656 kB / 3.859 GB, free: 61.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/9.457, allocations: 170.5 kB / 3.86 GB, free: 61.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.847e-05/9.457, allocations: 8.453 kB / 3.86 GB, free: 61.06 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-05/9.457, allocations: 9.031 kB / 3.86 GB, free: 61.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.759e-06/9.457, allocations: 4.344 kB / 3.86 GB, free: 61.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/9.457, allocations: 8.203 kB / 3.86 GB, free: 61.05 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001704/9.459, allocations: 1.38 MB / 3.861 GB, free: 59.75 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00258/9.461, allocations: 2.358 MB / 3.863 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007749/9.462, allocations: 315.5 kB / 3.864 GB, free: 57.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/9.462, allocations: 8.844 kB / 3.864 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/9.463, allocations: 84.64 kB / 3.864 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.689e-05/9.463, allocations: 44.92 kB / 3.864 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.132e-05/9.463, allocations: 33.34 kB / 3.864 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.001007/9.464, allocations: 0.6941 MB / 3.864 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005721/9.47, allocations: 1.887 MB / 3.866 GB, free: 54.52 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (72): * Single equations (assignments): 72 * 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.005119/9.475, allocations: 3.531 MB / 3.87 GB, free: 51.66 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002237/9.478, allocations: 1.242 MB / 3.871 GB, free: 50.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/9.478, allocations: 0 / 3.871 GB, free: 50.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004085/9.478, allocations: 342.3 kB / 3.871 GB, free: 50.14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004067/9.482, allocations: 0.7118 MB / 3.872 GB, free: 49.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00524/9.487, allocations: 2.327 MB / 3.874 GB, free: 47.21 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0012/9.489, allocations: 1.513 MB / 3.876 GB, free: 45.68 MB / 0.7136 GB Notification: Performance of SimCode: time 2.485e-06/9.489, allocations: 0 / 3.876 GB, free: 45.68 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)