Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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 8.0.1-maint.8.0.x/package.mo): time 1.495/1.495, allocations: 285.5 MB / 292.8 MB, free: 10.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 169.3 kB / 361.1 MB, free: 7.102 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.1 MB / 0.6195 GB, free: 11.94 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009674/0.0009674, allocations: 102.1 kB / 0.7326 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.388e-05/1.404e-05, allocations: 4 kB / 0.8511 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6162/0.6163, allocations: 115.3 MB / 0.9637 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.696/4.313, allocations: 2.094 GB / 3.057 GB, free: 12.61 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/4.313, allocations: 85.41 kB / 3.057 GB, free: 12.52 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.87/6.183, allocations: 478.4 MB / 3.525 GB, free: 225.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001662/6.183, allocations: 48.03 kB / 3.525 GB, free: 225.4 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.00389/6.187, allocations: 1.807 MB / 3.526 GB, free: 224.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/6.187, allocations: 8.188 kB / 3.526 GB, free: 224.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003182/6.19, allocations: 475.6 kB / 3.527 GB, free: 224.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/6.192, allocations: 0.9805 MB / 3.528 GB, free: 224.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.888e-05/6.192, allocations: 49.75 kB / 3.528 GB, free: 224.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/6.192, allocations: 94.81 kB / 3.528 GB, free: 224.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002333/6.194, allocations: 1.526 MB / 3.529 GB, free: 224.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/6.197, allocations: 1.431 MB / 3.531 GB, free: 224 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.679e-05/6.197, allocations: 1.031 kB / 3.531 GB, free: 224 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/6.197, allocations: 3.625 kB / 3.531 GB, free: 224 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/6.197, allocations: 41.72 kB / 3.531 GB, free: 224 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01042/6.207, allocations: 5.487 MB / 3.536 GB, free: 221.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/6.21, allocations: 1.35 MB / 3.537 GB, free: 221.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007819/6.21, allocations: 0.4927 MB / 3.538 GB, free: 221.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008374/6.211, allocations: 0.8927 MB / 3.539 GB, free: 220.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/6.212, allocations: 0.6608 MB / 3.539 GB, free: 220.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=117): time 3.617e-06/6.212, allocations: 0 / 3.539 GB, free: 220.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=117): time 0.003254/6.216, allocations: 1.127 MB / 3.541 GB, free: 220.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/6.216, allocations: 248.2 kB / 3.541 GB, free: 219.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/6.217, allocations: 0.679 MB / 3.541 GB, free: 219.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/6.217, allocations: 28.64 kB / 3.542 GB, free: 219.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005396/6.218, allocations: 0.4989 MB / 3.542 GB, free: 219.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003748/6.218, allocations: 377.3 kB / 3.542 GB, free: 219.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/6.218, allocations: 0 / 3.542 GB, free: 219.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001103/6.218, allocations: 348.1 kB / 3.543 GB, free: 218.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006221/6.219, allocations: 357.1 kB / 3.543 GB, free: 218.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007538/6.22, allocations: 0.512 MB / 3.544 GB, free: 218.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008073/6.221, allocations: 439.1 kB / 3.544 GB, free: 218.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/6.221, allocations: 4.75 kB / 3.544 GB, free: 218.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002353/6.223, allocations: 1.09 MB / 3.545 GB, free: 218.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/6.223, allocations: 4.438 kB / 3.545 GB, free: 218.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/6.223, allocations: 8.656 kB / 3.545 GB, free: 218.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006653/6.224, allocations: 83.72 kB / 3.545 GB, free: 218.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/6.225, allocations: 270.3 kB / 3.545 GB, free: 218.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/6.227, allocations: 1.477 MB / 3.547 GB, free: 217.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/6.228, allocations: 114.7 kB / 3.547 GB, free: 217.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/6.228, allocations: 41.7 kB / 3.547 GB, free: 217.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (123): * Single equations (assignments): 122 * 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: 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 prepare postOptimizeDAE: time 0.0002221/6.228, allocations: 122.9 kB / 3.547 GB, free: 217.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/6.229, allocations: 121 kB / 3.547 GB, free: 217.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003002/6.232, allocations: 1.417 MB / 3.549 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/6.232, allocations: 14.91 kB / 3.549 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/6.232, allocations: 0 / 3.549 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/6.232, allocations: 7.688 kB / 3.549 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004473/6.236, allocations: 2.754 MB / 3.551 GB, free: 216.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/6.236, allocations: 3.219 kB / 3.551 GB, free: 216.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/6.237, allocations: 271.3 kB / 3.552 GB, free: 216.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005271/6.238, allocations: 91.08 kB / 3.552 GB, free: 216.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.063e-05/6.238, allocations: 21.67 kB / 3.552 GB, free: 216.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/6.24, allocations: 1.479 MB / 3.553 GB, free: 215.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/6.24, allocations: 0 / 3.553 GB, free: 215.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003055/6.243, allocations: 1.923 MB / 3.555 GB, free: 215.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007726/6.244, allocations: 392.8 kB / 3.555 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/6.244, allocations: 3.75 kB / 3.555 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/6.245, allocations: 108.5 kB / 3.555 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/6.245, allocations: 71.33 kB / 3.556 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/6.245, allocations: 55.28 kB / 3.556 GB, free: 215.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007263/6.246, allocations: 0.533 MB / 3.556 GB, free: 215 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00193/6.248, allocations: 0.5857 MB / 3.557 GB, free: 214.9 MB / 0.948 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.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 (128): * Single equations (assignments): 125 * 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: 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002551/6.251, allocations: 1.875 MB / 3.559 GB, free: 214.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001753/6.252, allocations: 1.068 MB / 3.56 GB, free: 214.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/6.252, allocations: 448 / 3.56 GB, free: 214.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000902/6.253, allocations: 0.6696 MB / 3.56 GB, free: 214.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/6.255, allocations: 395.8 kB / 3.561 GB, free: 214.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005621/6.261, allocations: 2.268 MB / 3.563 GB, free: 213.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/6.262, allocations: 1.466 MB / 3.564 GB, free: 213 MB / 0.948 GB Notification: Performance of SimCode: time 1.093e-06/6.262, allocations: 3.469 kB / 3.564 GB, free: 213 MB / 0.948 GB Notification: Performance of Templates: time 0.05815/6.32, allocations: 31.17 MB / 3.595 GB, free: 208.1 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)