Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.8451/0.8451, allocations: 141.8 MB / 149.1 MB, free: 3.777 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 186.8 kB / 181.9 MB, free: 15.54 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.642/1.642, allocations: 221.4 MB / 436 MB, free: 8.703 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 96.36 kB / 0.507 GB, free: 24.26 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002131/0.002132, allocations: 272.8 kB / 0.5884 GB, free: 11.78 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 7.895e-06/8.185e-06, allocations: 0 / 0.6759 GB, free: 2.148 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5114/0.5114, allocations: 82.77 MB / 0.7567 GB, free: 112.3 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.189/4.7, allocations: 1.888 GB / 2.645 GB, free: 185.4 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/4.7, allocations: 91.95 kB / 2.645 GB, free: 185.3 MB / 0.6982 GB Notification: Performance of FrontEnd: time 5.231/9.932, allocations: 1.307 GB / 3.952 GB, free: 80.38 MB / 0.7294 GB Notification: Performance of Transformations before backend: time 0.0002928/9.932, allocations: 49.14 kB / 3.952 GB, free: 80.38 MB / 0.7294 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 0.007783/9.94, allocations: 2.094 MB / 3.954 GB, free: 79.53 MB / 0.7294 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/9.94, allocations: 11.84 kB / 3.954 GB, free: 79.53 MB / 0.7294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006093/9.946, allocations: 0.6484 MB / 3.955 GB, free: 79.43 MB / 0.7294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006206/9.952, allocations: 1.761 MB / 3.956 GB, free: 79.11 MB / 0.7294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.239e-05/9.952, allocations: 40.03 kB / 3.956 GB, free: 79.11 MB / 0.7294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002239/9.952, allocations: 87.75 kB / 3.956 GB, free: 79.11 MB / 0.7294 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002416/9.955, allocations: 1.202 MB / 3.958 GB, free: 79.1 MB / 0.7294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/9.957, allocations: 1.31 MB / 3.959 GB, free: 78.89 MB / 0.7294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.784e-05/9.957, allocations: 0 / 3.959 GB, free: 78.89 MB / 0.7294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/9.957, allocations: 3.156 kB / 3.959 GB, free: 78.89 MB / 0.7294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.614e-05/9.957, allocations: 47.05 kB / 3.959 GB, free: 78.89 MB / 0.7294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009691/9.967, allocations: 7.287 MB / 3.966 GB, free: 75 MB / 0.7294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009034/9.968, allocations: 0.6565 MB / 3.967 GB, free: 74.97 MB / 0.7294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004468/9.968, allocations: 364.1 kB / 3.967 GB, free: 74.96 MB / 0.7294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002994/9.969, allocations: 279.1 kB / 3.967 GB, free: 74.68 MB / 0.7294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/9.969, allocations: 41.06 kB / 3.967 GB, free: 74.64 MB / 0.7294 GB Notification: Performance of pre-optimization done (n=67): time 3.416e-06/9.969, allocations: 0 / 3.967 GB, free: 74.64 MB / 0.7294 GB Notification: Performance of matching and sorting (n=67): time 0.002081/9.971, allocations: 0.8126 MB / 3.968 GB, free: 74.52 MB / 0.7294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/9.971, allocations: 57 kB / 3.968 GB, free: 74.46 MB / 0.7294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/9.972, allocations: 0.911 MB / 3.969 GB, free: 74.31 MB / 0.7294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/9.972, allocations: 28.08 kB / 3.969 GB, free: 74.28 MB / 0.7294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003416/9.973, allocations: 0.5722 MB / 3.97 GB, free: 74.03 MB / 0.7294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/9.973, allocations: 239.3 kB / 3.97 GB, free: 73.89 MB / 0.7294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/9.973, allocations: 0 / 3.97 GB, free: 73.89 MB / 0.7294 GB Notification: Performance of setup shared object (initialization): time 9.137e-05/9.973, allocations: 336.7 kB / 3.97 GB, free: 73.59 MB / 0.7294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/9.973, allocations: 309 kB / 3.97 GB, free: 73.59 MB / 0.7294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006097/9.974, allocations: 0.6214 MB / 3.971 GB, free: 73.2 MB / 0.7294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005658/9.975, allocations: 425.9 kB / 3.971 GB, free: 73.19 MB / 0.7294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/9.975, allocations: 3.938 kB / 3.971 GB, free: 73.19 MB / 0.7294 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001518/9.976, allocations: 0.9707 MB / 3.972 GB, free: 73.08 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005689/9.977, allocations: 2.478 MB / 3.975 GB, free: 70.53 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/9.977, allocations: 10.03 kB / 3.975 GB, free: 70.53 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/9.977, allocations: 11.47 kB / 3.975 GB, free: 70.53 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008922/9.978, allocations: 197 kB / 3.975 GB, free: 70.53 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/9.978, allocations: 17.03 kB / 3.975 GB, free: 70.53 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/9.979, allocations: 129 kB / 3.975 GB, free: 70.49 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/9.98, allocations: 45.7 kB / 3.975 GB, free: 70.49 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/9.98, allocations: 3.875 kB / 3.975 GB, free: 70.49 MB / 0.7294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001237/9.981, allocations: 0.806 MB / 3.976 GB, free: 70.47 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/9.981, allocations: 9.625 kB / 3.976 GB, free: 70.47 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/9.981, allocations: 13.2 kB / 3.976 GB, free: 70.47 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000801/9.982, allocations: 194.1 kB / 3.976 GB, free: 70.47 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/9.982, allocations: 12.91 kB / 3.976 GB, free: 70.47 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/9.983, allocations: 126.2 kB / 3.976 GB, free: 70.43 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.543e-05/9.983, allocations: 47.12 kB / 3.976 GB, free: 70.43 MB / 0.7294 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.000302/9.984, allocations: 123.4 kB / 3.977 GB, free: 70.32 MB / 0.7294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002653/9.984, allocations: 141 kB / 3.977 GB, free: 70.25 MB / 0.7294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/9.986, allocations: 0.7759 MB / 3.977 GB, free: 70.18 MB / 0.7294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/9.986, allocations: 7.188 kB / 3.977 GB, free: 70.18 MB / 0.7294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/9.986, allocations: 2.875 kB / 3.977 GB, free: 70.18 MB / 0.7294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009161/9.987, allocations: 0.7646 MB / 3.978 GB, free: 69.92 MB / 0.7294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004055/9.991, allocations: 2.164 MB / 3.98 GB, free: 69.55 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/9.991, allocations: 5.688 kB / 3.98 GB, free: 69.55 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009073/9.992, allocations: 171.3 kB / 3.98 GB, free: 69.55 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/9.992, allocations: 7.312 kB / 3.98 GB, free: 69.55 MB / 0.7294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.379e-05/9.992, allocations: 10.62 kB / 3.98 GB, free: 69.55 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/9.992, allocations: 3.969 kB / 3.98 GB, free: 69.55 MB / 0.7294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/9.992, allocations: 7.25 kB / 3.98 GB, free: 69.55 MB / 0.7294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001731/9.993, allocations: 1.369 MB / 3.982 GB, free: 69.15 MB / 0.7294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000723/9.994, allocations: 326.3 kB / 3.982 GB, free: 68.97 MB / 0.7294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/9.994, allocations: 7.688 kB / 3.982 GB, free: 68.97 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/9.995, allocations: 82.48 kB / 3.982 GB, free: 68.96 MB / 0.7294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.238e-05/9.996, allocations: 43.8 kB / 3.982 GB, free: 68.96 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.505e-05/9.996, allocations: 30.59 kB / 3.982 GB, free: 68.96 MB / 0.7294 GB Notification: Performance of sort global known variables: time 0.0009776/9.997, allocations: 0.6863 MB / 3.983 GB, free: 68.86 MB / 0.7294 GB Notification: Performance of remove unused functions: time 0.003274/10, allocations: 1.063 MB / 3.984 GB, free: 68.72 MB / 0.7294 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.005279/10.01, allocations: 3.537 MB / 3.987 GB, free: 67.39 MB / 0.7294 GB Notification: Performance of simCode: created initialization part: time 0.002287/10.01, allocations: 1.232 MB / 3.989 GB, free: 67.38 MB / 0.7294 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/10.01, allocations: 0 / 3.989 GB, free: 67.38 MB / 0.7294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004675/10.01, allocations: 347.3 kB / 3.989 GB, free: 67.37 MB / 0.7294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00413/10.01, allocations: 0.7305 MB / 3.99 GB, free: 67.36 MB / 0.7294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00546/10.02, allocations: 2.301 MB / 3.992 GB, free: 66.77 MB / 0.7294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/10.02, allocations: 1.501 MB / 3.993 GB, free: 66.05 MB / 0.7294 GB Notification: Performance of SimCode: time 1.653e-06/10.02, allocations: 1.781 kB / 3.993 GB, free: 66.05 MB / 0.7294 GB Notification: Performance of Templates: time 0.08233/10.1, allocations: 47.14 MB / 4.039 GB, free: 63.72 MB / 0.7294 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)