Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.226/2.226, allocations: 284.9 MB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001543/0.001543, allocations: 185.2 kB / 360.4 MB, free: 7.531 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.1 MB / 0.6188 GB, free: 12.46 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001288/0.001287, allocations: 91.19 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.103e-05/1.118e-05, allocations: 4 kB / 0.8502 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6296/0.6296, allocations: 115.2 MB / 0.9628 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.916/5.546, allocations: 2.093 GB / 3.056 GB, free: 266.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/5.546, allocations: 86.73 kB / 3.056 GB, free: 266.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.186/7.732, allocations: 478.4 MB / 3.523 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001956/7.733, allocations: 43.94 kB / 3.524 GB, free: 182.4 MB / 0.9323 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.005747/7.738, allocations: 1.805 MB / 3.525 GB, free: 180.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/7.738, allocations: 12.53 kB / 3.525 GB, free: 180.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005604/7.744, allocations: 477.2 kB / 3.526 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003439/7.748, allocations: 0.9846 MB / 3.527 GB, free: 179.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.079e-05/7.748, allocations: 48 kB / 3.527 GB, free: 179.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003545/7.748, allocations: 88 kB / 3.527 GB, free: 179 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0046/7.753, allocations: 1.532 MB / 3.528 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00452/7.757, allocations: 1.427 MB / 3.53 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.208e-05/7.757, allocations: 8 kB / 3.53 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000275/7.758, allocations: 4 kB / 3.53 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.585e-05/7.758, allocations: 36 kB / 3.53 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01375/7.771, allocations: 5.501 MB / 3.535 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003162/7.775, allocations: 1.34 MB / 3.536 GB, free: 168.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/7.776, allocations: 0.4898 MB / 3.537 GB, free: 168.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00118/7.777, allocations: 0.8909 MB / 3.538 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001709/7.779, allocations: 0.6742 MB / 3.538 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=117): time 5.07e-06/7.779, allocations: 0 / 3.538 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=117): time 0.004885/7.784, allocations: 1.121 MB / 3.54 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.722e-05/7.784, allocations: 244.3 kB / 3.54 GB, free: 165.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/7.786, allocations: 0.6834 MB / 3.54 GB, free: 164.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003498/7.786, allocations: 29.7 kB / 3.541 GB, free: 164.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004511/7.786, allocations: 0.4957 MB / 3.541 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004436/7.787, allocations: 378.3 kB / 3.541 GB, free: 163.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.619e-05/7.787, allocations: 0 / 3.541 GB, free: 163.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.713e-05/7.787, allocations: 345.9 kB / 3.542 GB, free: 163.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009581/7.788, allocations: 357.9 kB / 3.542 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/7.789, allocations: 0.5188 MB / 3.543 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/7.79, allocations: 445.7 kB / 3.543 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/7.79, allocations: 0 / 3.543 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003948/7.794, allocations: 1.096 MB / 3.544 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/7.794, allocations: 4.625 kB / 3.544 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/7.794, allocations: 4 kB / 3.544 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/7.796, allocations: 84.91 kB / 3.544 GB, free: 160.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002713/7.798, allocations: 271.6 kB / 3.544 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002995/7.801, allocations: 1.465 MB / 3.546 GB, free: 158.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/7.804, allocations: 115.3 kB / 3.546 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/7.804, allocations: 43.97 kB / 3.546 GB, free: 158.6 MB / 0.9323 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.0004109/7.804, allocations: 124.7 kB / 3.546 GB, free: 158.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004336/7.805, allocations: 118.7 kB / 3.546 GB, free: 158.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005686/7.811, allocations: 1.413 MB / 3.548 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/7.811, allocations: 12 kB / 3.548 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/7.811, allocations: 7.906 kB / 3.548 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.595e-05/7.811, allocations: 3.984 kB / 3.548 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008933/7.82, allocations: 2.756 MB / 3.55 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/7.82, allocations: 3.984 kB / 3.55 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002801/7.823, allocations: 278.7 kB / 3.551 GB, free: 153.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001084/7.824, allocations: 84.72 kB / 3.551 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002815/7.824, allocations: 23.97 kB / 3.551 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002701/7.827, allocations: 1.484 MB / 3.552 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/7.827, allocations: 0 / 3.552 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005839/7.833, allocations: 1.917 MB / 3.554 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/7.834, allocations: 383.2 kB / 3.554 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004465/7.834, allocations: 12.12 kB / 3.554 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002465/7.837, allocations: 103.8 kB / 3.554 GB, free: 149.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002537/7.837, allocations: 73.19 kB / 3.555 GB, free: 149.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002137/7.837, allocations: 55.95 kB / 3.555 GB, free: 149.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001121/7.839, allocations: 0.5304 MB / 3.555 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002841/7.841, allocations: 0.5856 MB / 3.556 GB, free: 148.5 MB / 0.9323 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.003893/7.845, allocations: 1.858 MB / 3.557 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003345/7.849, allocations: 1.076 MB / 3.559 GB, free: 145.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/7.849, allocations: 448 / 3.559 GB, free: 145.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001809/7.851, allocations: 0.663 MB / 3.559 GB, free: 145.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005521/7.856, allocations: 396.2 kB / 3.56 GB, free: 144.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/7.87, allocations: 2.275 MB / 3.562 GB, free: 142.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002954/7.873, allocations: 1.473 MB / 3.563 GB, free: 141 MB / 0.9323 GB Notification: Performance of SimCode: time 1.793e-06/7.873, allocations: 0 / 3.563 GB, free: 141 MB / 0.9323 GB Notification: Performance of Templates: time 0.08557/7.959, allocations: 31.17 MB / 3.594 GB, free: 110 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)