Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp") [: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/Buildings 1.6.0+build.1/package.mo): time 0.4876/0.4876, allocations: 94.74 MB / 102 MB, free: 10.38 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00101/0.00101, allocations: 167.8 kB / 125.3 MB, free: 12.01 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.332/1.332, allocations: 170.5 MB / 319 MB, free: 9.434 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00162/0.00162, allocations: 102.6 kB / 381 MB, free: 18.14 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.706e-06/8.816e-06, allocations: 224 / 448.6 MB, free: 2.145 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1474, allocations: 61.52 MB / 0.4981 GB, free: 4.539 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.41/13.56, allocations: 5.997 GB / 6.495 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/13.56, allocations: 81.58 kB / 6.495 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.592/15.15, allocations: 482.7 MB / 6.966 GB, free: 54.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001703/15.15, allocations: 42.97 kB / 6.967 GB, free: 54.37 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.006379/15.16, allocations: 2.11 MB / 6.969 GB, free: 52.17 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.74e-05/15.16, allocations: 14 kB / 6.969 GB, free: 52.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002469/15.16, allocations: 261.5 kB / 6.969 GB, free: 51.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003705/15.16, allocations: 0.9718 MB / 6.97 GB, free: 50.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/15.16, allocations: 52 kB / 6.97 GB, free: 50.85 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000536/15.16, allocations: 96 kB / 6.97 GB, free: 50.76 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003575/15.17, allocations: 1.669 MB / 6.972 GB, free: 49.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/15.17, allocations: 1.448 MB / 6.973 GB, free: 47.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.033e-05/15.17, allocations: 7.938 kB / 6.973 GB, free: 47.56 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/15.17, allocations: 4 kB / 6.973 GB, free: 47.56 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.008e-05/15.17, allocations: 39.91 kB / 6.973 GB, free: 47.52 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007113/15.18, allocations: 4.918 MB / 6.978 GB, free: 42.54 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/15.18, allocations: 1.134 MB / 6.979 GB, free: 41.39 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000605/15.18, allocations: 0.514 MB / 6.979 GB, free: 40.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001618/15.18, allocations: 2.869 MB / 6.982 GB, free: 37.38 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009456/15.18, allocations: 0.7148 MB / 6.983 GB, free: 36.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=126): time 4.428e-06/15.18, allocations: 7.281 kB / 6.983 GB, free: 36.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=126): time 0.003479/15.18, allocations: 1.338 MB / 6.984 GB, free: 35.29 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/15.18, allocations: 315.7 kB / 6.985 GB, free: 34.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009118/15.19, allocations: 0.688 MB / 6.985 GB, free: 34.21 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/15.19, allocations: 37.7 kB / 6.985 GB, free: 34.17 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003781/15.19, allocations: 0.4921 MB / 6.986 GB, free: 33.67 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000274/15.19, allocations: 405.8 kB / 6.986 GB, free: 33.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.836e-05/15.19, allocations: 8 kB / 6.986 GB, free: 33.26 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.627e-05/15.19, allocations: 349.9 kB / 6.986 GB, free: 32.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005866/15.19, allocations: 446.5 kB / 6.987 GB, free: 32.47 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006502/15.19, allocations: 0.5688 MB / 6.987 GB, free: 31.86 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/15.19, allocations: 0.6991 MB / 6.988 GB, free: 31.18 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/15.19, allocations: 3.984 kB / 6.988 GB, free: 31.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003239/15.19, allocations: 1.507 MB / 6.99 GB, free: 29.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/15.19, allocations: 7.25 kB / 6.99 GB, free: 29.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/15.19, allocations: 8 kB / 6.99 GB, free: 29.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006788/15.19, allocations: 80.83 kB / 6.99 GB, free: 29.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008662/15.19, allocations: 207.7 kB / 6.99 GB, free: 29.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/15.2, allocations: 1.369 MB / 6.991 GB, free: 27.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/15.2, allocations: 103.2 kB / 6.991 GB, free: 27.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/15.2, allocations: 55.97 kB / 6.991 GB, free: 27.71 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,bou1.x_pTphi.i_w,bou1.x_pTphi.i_nw,bou1.x_pTphi.found,bouFix.x_pTphi.i_w,bouFix.x_pTphi.i_nw,bouFix.x_pTphi.found,bou2.x_pTphi.i_w,bou2.x_pTphi.i_nw,bou2.x_pTphi.found) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 12 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003893/15.2, allocations: 293.2 kB / 6.992 GB, free: 27.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002803/15.2, allocations: 114.6 kB / 6.992 GB, free: 27.28 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00436/15.2, allocations: 1.803 MB / 6.994 GB, free: 25.46 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/15.2, allocations: 12 kB / 6.994 GB, free: 25.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/15.2, allocations: 7.984 kB / 6.994 GB, free: 25.45 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/15.2, allocations: 9.828 kB / 6.994 GB, free: 25.44 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001941/15.2, allocations: 1.187 MB / 6.995 GB, free: 24.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/15.2, allocations: 0 / 6.995 GB, free: 24.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009372/15.2, allocations: 219.7 kB / 6.995 GB, free: 24.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005236/15.21, allocations: 76.8 kB / 6.995 GB, free: 23.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/15.21, allocations: 19.98 kB / 6.995 GB, free: 23.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/15.21, allocations: 1.41 MB / 6.996 GB, free: 22.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/15.21, allocations: 3.906 kB / 6.996 GB, free: 22.39 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005592/15.21, allocations: 2.29 MB / 6.999 GB, free: 20.08 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/15.21, allocations: 423.1 kB / 6.999 GB, free: 19.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004119/15.21, allocations: 23.89 kB / 6.999 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/15.22, allocations: 67.94 kB / 6.999 GB, free: 19.56 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/15.22, allocations: 77.12 kB / 6.999 GB, free: 19.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001967/15.22, allocations: 59.97 kB / 6.999 GB, free: 19.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0009661/15.22, allocations: 0.5382 MB / 7 GB, free: 18.89 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003092/15.22, allocations: 0.8017 MB / 7.001 GB, free: 18.09 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 2 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004017/15.22, allocations: 1.854 MB / 7.002 GB, free: 16.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002559/15.23, allocations: 1.638 MB / 7.004 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/15.23, allocations: 4.5 kB / 7.004 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/15.23, allocations: 0.9446 MB / 7.005 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/15.23, allocations: 382.7 kB / 7.005 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006702/15.24, allocations: 2.359 MB / 7.008 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001685/15.24, allocations: 1.465 MB / 7.009 GB, free: 9.57 MB / 0.5261 GB Notification: Performance of SimCode: time 9.52e-07/15.24, allocations: 0 / 7.009 GB, free: 9.57 MB / 0.5261 GB Notification: Performance of Templates: time 0.3434/15.58, allocations: 32.34 MB / 7.041 GB, free: 134.7 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)