Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.303/2.303, allocations: 253.1 MB / 260.4 MB, free: 7.523 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001681/0.001681, allocations: 185.2 kB / 319.6 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.847/1.847, allocations: 205.4 MB / 0.5704 GB, free: 15.02 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001398/0.001398, allocations: 94.88 kB / 0.6746 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.378e-05/1.394e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2106, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.836/6.047, allocations: 2.213 GB / 3.101 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003907/6.047, allocations: 85.64 kB / 3.101 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.146/8.194, allocations: 467.6 MB / 3.557 GB, free: 27.61 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001957/8.194, allocations: 47.98 kB / 3.557 GB, free: 27.57 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.005637/8.2, allocations: 1.807 MB / 3.559 GB, free: 25.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/8.2, allocations: 8.031 kB / 3.559 GB, free: 25.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005377/8.205, allocations: 489.1 kB / 3.56 GB, free: 25.21 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003375/8.209, allocations: 1.005 MB / 3.561 GB, free: 24.16 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.907e-05/8.209, allocations: 55.98 kB / 3.561 GB, free: 24.11 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00038/8.209, allocations: 88 kB / 3.561 GB, free: 24.02 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004855/8.214, allocations: 1.521 MB / 3.562 GB, free: 22.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004696/8.219, allocations: 1.44 MB / 3.564 GB, free: 20.98 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.223e-05/8.219, allocations: 4 kB / 3.564 GB, free: 20.97 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002878/8.219, allocations: 7.906 kB / 3.564 GB, free: 20.96 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.553e-05/8.219, allocations: 39.94 kB / 3.564 GB, free: 20.93 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01412/8.233, allocations: 5.667 MB / 3.569 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002937/8.236, allocations: 1.096 MB / 3.57 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001205/8.238, allocations: 0.4886 MB / 3.571 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/8.239, allocations: 0.8906 MB / 3.572 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001716/8.241, allocations: 0.6804 MB / 3.572 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=117): time 4.839e-06/8.241, allocations: 0 / 3.572 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of matching and sorting (n=117): time 0.005464/8.246, allocations: 1.116 MB / 3.573 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.599e-05/8.246, allocations: 252.3 kB / 3.574 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/8.248, allocations: 0.6885 MB / 3.574 GB, free: 9.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003845/8.248, allocations: 33.7 kB / 3.574 GB, free: 9.461 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004979/8.249, allocations: 0.5035 MB / 3.575 GB, free: 8.945 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005025/8.249, allocations: 378.3 kB / 3.575 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.507e-05/8.249, allocations: 0 / 3.575 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001004/8.249, allocations: 349.8 kB / 3.576 GB, free: 8.223 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/8.25, allocations: 353.9 kB / 3.576 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/8.252, allocations: 0.5072 MB / 3.576 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/8.253, allocations: 442.7 kB / 3.577 GB, free: 6.887 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.872e-06/8.253, allocations: 0 / 3.577 GB, free: 6.887 MB / 0.8698 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004041/8.257, allocations: 1.089 MB / 3.578 GB, free: 5.785 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/8.257, allocations: 4 kB / 3.578 GB, free: 5.781 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/8.257, allocations: 4 kB / 3.578 GB, free: 5.777 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/8.258, allocations: 84.91 kB / 3.578 GB, free: 5.691 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002687/8.261, allocations: 267.6 kB / 3.578 GB, free: 5.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002927/8.264, allocations: 1.465 MB / 3.58 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002289/8.266, allocations: 127.2 kB / 3.58 GB, free: 3.715 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000252/8.266, allocations: 47.91 kB / 3.58 GB, free: 3.668 MB / 0.8698 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.0004346/8.267, allocations: 127 kB / 3.58 GB, free: 3.539 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004648/8.267, allocations: 114.6 kB / 3.58 GB, free: 3.426 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005406/8.273, allocations: 1.417 MB / 3.581 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.02e-05/8.273, allocations: 16 kB / 3.581 GB, free: 1.98 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/8.273, allocations: 4 kB / 3.581 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.343e-05/8.273, allocations: 11.91 kB / 3.581 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002907/8.276, allocations: 1.225 MB / 3.583 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/8.276, allocations: 0 / 3.583 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002789/8.279, allocations: 271.7 kB / 3.583 GB, free: 448 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009907/8.28, allocations: 80.78 kB / 3.583 GB, free: 364 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003116/8.28, allocations: 23.97 kB / 3.583 GB, free: 340 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3575/8.638, allocations: 1.481 MB / 3.584 GB, free: 283.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/8.638, allocations: 2.656 kB / 3.584 GB, free: 283.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005962/8.644, allocations: 1.838 MB / 3.586 GB, free: 283.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/8.645, allocations: 401.4 kB / 3.587 GB, free: 283.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004123/8.646, allocations: 3.438 kB / 3.587 GB, free: 283.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002446/8.648, allocations: 108 kB / 3.587 GB, free: 283.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002804/8.648, allocations: 74.92 kB / 3.587 GB, free: 283.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002369/8.649, allocations: 50.8 kB / 3.587 GB, free: 283.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.00119/8.65, allocations: 0.5514 MB / 3.587 GB, free: 283.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002821/8.653, allocations: 0.5913 MB / 3.588 GB, free: 283.3 MB / 0.8698 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.conTimMin.tNext,weaDat.conTim.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.00393/8.657, allocations: 1.864 MB / 3.59 GB, free: 283 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00328/8.66, allocations: 1.061 MB / 3.591 GB, free: 282.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/8.66, allocations: 4.578 kB / 3.591 GB, free: 282.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00183/8.662, allocations: 0.6644 MB / 3.592 GB, free: 282.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004293/8.666, allocations: 395.4 kB / 3.592 GB, free: 282.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/8.677, allocations: 2.318 MB / 3.594 GB, free: 282.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002142/8.679, allocations: 1.483 MB / 3.596 GB, free: 281.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.393e-06/8.679, allocations: 3.969 kB / 3.596 GB, free: 281.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.09504/8.774, allocations: 31.54 MB / 3.626 GB, free: 280.9 MB / 0.8698 GB