Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.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.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise") [: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.7788/0.7788, allocations: 141.8 MB / 149 MB, free: 2.391 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.001329/0.001329, allocations: 188.6 kB / 181.9 MB, free: 1.984 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.506/1.506, allocations: 221.4 MB / 436 MB, free: 6.637 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.001076/0.001076, allocations: 104.2 kB / 0.507 GB, free: 3.316 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00177/0.00177, allocations: 275 kB / 0.5884 GB, free: 48.3 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 1.133e-05/1.137e-05, allocations: 4 kB / 0.6759 GB, free: 6.668 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5003/0.5004, allocations: 82.76 MB / 0.7567 GB, free: 25.75 MB / 458.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.924/4.424, allocations: 1.897 GB / 2.654 GB, free: 103.3 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/4.424, allocations: 95.64 kB / 2.654 GB, free: 103.2 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.9891/5.413, allocations: 318.8 MB / 2.965 GB, free: 58.75 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001831/5.414, allocations: 40 kB / 2.965 GB, free: 58.71 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.005141/5.419, allocations: 1.815 MB / 2.967 GB, free: 56.83 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/5.419, allocations: 9.281 kB / 2.967 GB, free: 56.82 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004273/5.423, allocations: 0.5283 MB / 2.967 GB, free: 56.29 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/5.426, allocations: 0.9856 MB / 2.968 GB, free: 55.26 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.701e-05/5.426, allocations: 56 kB / 2.968 GB, free: 55.21 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000419/5.426, allocations: 92 kB / 2.969 GB, free: 55.12 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003338/5.43, allocations: 1.669 MB / 2.97 GB, free: 53.45 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003157/5.433, allocations: 1.48 MB / 2.972 GB, free: 51.91 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.805e-05/5.433, allocations: 0 / 2.972 GB, free: 51.91 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002497/5.433, allocations: 4 kB / 2.972 GB, free: 51.91 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/5.433, allocations: 40 kB / 2.972 GB, free: 51.87 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008482/5.442, allocations: 4.637 MB / 2.976 GB, free: 47.05 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/5.444, allocations: 1.492 MB / 2.978 GB, free: 45.48 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007677/5.444, allocations: 0.562 MB / 2.978 GB, free: 44.92 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009699/5.445, allocations: 1.132 MB / 2.979 GB, free: 43.55 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/5.446, allocations: 0.7302 MB / 2.98 GB, free: 42.8 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=137): time 3.968e-06/5.447, allocations: 0 / 2.98 GB, free: 42.8 MB / 0.6982 GB Notification: Performance of matching and sorting (n=137): time 0.00374/5.45, allocations: 1.321 MB / 2.981 GB, free: 41.45 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.484e-05/5.45, allocations: 244.6 kB / 2.982 GB, free: 41.16 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/5.451, allocations: 0.6136 MB / 2.982 GB, free: 40.54 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.0001676/5.452, allocations: 29.7 kB / 2.982 GB, free: 40.5 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004372/5.452, allocations: 0.5231 MB / 2.983 GB, free: 39.96 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003279/5.452, allocations: 441.2 kB / 2.983 GB, free: 39.53 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.237e-05/5.452, allocations: 0 / 2.983 GB, free: 39.53 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 7.681e-05/5.452, allocations: 349.9 kB / 2.983 GB, free: 39.18 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005518/5.453, allocations: 378.5 kB / 2.984 GB, free: 38.81 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006669/5.454, allocations: 0.527 MB / 2.984 GB, free: 38.24 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008785/5.455, allocations: 480.8 kB / 2.985 GB, free: 37.78 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/5.455, allocations: 0 / 2.985 GB, free: 37.78 MB / 0.6982 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.00276/5.457, allocations: 1.255 MB / 2.986 GB, free: 36.5 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/5.457, allocations: 7.984 kB / 2.986 GB, free: 36.49 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/5.457, allocations: 0 / 2.986 GB, free: 36.49 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009388/5.458, allocations: 192.2 kB / 2.986 GB, free: 36.29 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/5.46, allocations: 299.6 kB / 2.986 GB, free: 36 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004581/5.464, allocations: 6.478 MB / 2.993 GB, free: 28.93 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/5.466, allocations: 115.2 kB / 2.993 GB, free: 28.82 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/5.466, allocations: 43.97 kB / 2.993 GB, free: 28.78 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004017/5.467, allocations: 127.7 kB / 2.993 GB, free: 28.65 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004489/5.467, allocations: 122.5 kB / 2.993 GB, free: 28.53 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004039/5.471, allocations: 1.604 MB / 2.995 GB, free: 26.89 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/5.471, allocations: 16 kB / 2.995 GB, free: 26.88 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/5.471, allocations: 0 / 2.995 GB, free: 26.88 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/5.471, allocations: 7.969 kB / 2.995 GB, free: 26.87 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005983/5.477, allocations: 2.952 MB / 2.998 GB, free: 23.86 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/5.477, allocations: 3.906 kB / 2.998 GB, free: 23.85 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/5.479, allocations: 311.6 kB / 2.998 GB, free: 23.55 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000824/5.48, allocations: 192.1 kB / 2.998 GB, free: 23.34 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/5.48, allocations: 19.97 kB / 2.998 GB, free: 23.32 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004219/5.484, allocations: 6.482 MB / 3.004 GB, free: 16.26 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/5.484, allocations: 7.906 kB / 3.004 GB, free: 16.25 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003207/5.487, allocations: 1.435 MB / 3.006 GB, free: 14.79 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009539/5.488, allocations: 395.1 kB / 3.006 GB, free: 14.38 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003627/5.489, allocations: 7.938 kB / 3.006 GB, free: 14.38 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/5.49, allocations: 103.8 kB / 3.006 GB, free: 14.27 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/5.49, allocations: 81.03 kB / 3.006 GB, free: 14.19 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001873/5.49, allocations: 67.94 kB / 3.007 GB, free: 14.12 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0007153/5.491, allocations: 0.4913 MB / 3.007 GB, free: 13.64 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002438/5.494, allocations: 0.6192 MB / 3.008 GB, free: 13.02 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002958/5.496, allocations: 1.695 MB / 3.009 GB, free: 11.35 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.002418/5.499, allocations: 1.565 MB / 3.011 GB, free: 9.738 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/5.499, allocations: 4.656 kB / 3.011 GB, free: 9.734 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.001364/5.5, allocations: 1.123 MB / 3.012 GB, free: 8.562 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/5.502, allocations: 389.5 kB / 3.012 GB, free: 8.191 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005768/5.508, allocations: 2.191 MB / 3.014 GB, free: 5.957 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001424/5.51, allocations: 1.475 MB / 3.016 GB, free: 4.449 MB / 0.6982 GB Notification: Performance of SimCode: time 9.92e-07/5.51, allocations: 3.938 kB / 3.016 GB, free: 4.445 MB / 0.6982 GB Notification: Performance of Templates: time 0.388/5.898, allocations: 32.54 MB / 3.048 GB, free: 208.2 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)