Running: ./testmodel.py --libraries=/home/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 (/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.1/package.mo): time 2.282/2.282, allocations: 248.6 MB / 255.9 MB, free: 7.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001864/0.001864, allocations: 197.2 kB / 315.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.071/2.071, allocations: 205.1 MB / 0.5658 GB, free: 288 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001242/0.001241, allocations: 94.53 kB / 0.67 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.467/0.4683, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.7136, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.653/6.367, allocations: 2.213 GB / 3.096 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/6.367, allocations: 88.27 kB / 3.096 GB, free: 156.4 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 2.006/8.373, allocations: 469.5 MB / 3.555 GB, free: 32.57 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/8.373, allocations: 8 kB / 3.555 GB, free: 32.56 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005314/8.379, allocations: 481.1 kB / 3.555 GB, free: 32.09 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003105/8.382, allocations: 0.9971 MB / 3.556 GB, free: 31.05 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.499e-05/8.382, allocations: 56 kB / 3.556 GB, free: 30.99 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002769/8.382, allocations: 91.94 kB / 3.556 GB, free: 30.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004016/8.386, allocations: 1.525 MB / 3.558 GB, free: 29.38 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003849/8.39, allocations: 1.436 MB / 3.559 GB, free: 27.86 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.285e-05/8.39, allocations: 3.938 kB / 3.559 GB, free: 27.85 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002582/8.39, allocations: 11.91 kB / 3.559 GB, free: 27.84 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-05/8.39, allocations: 36 kB / 3.559 GB, free: 27.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01249/8.403, allocations: 5.664 MB / 3.565 GB, free: 21.87 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002665/8.406, allocations: 1.092 MB / 3.566 GB, free: 20.77 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/8.407, allocations: 0.4931 MB / 3.566 GB, free: 20.27 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/8.408, allocations: 0.8906 MB / 3.567 GB, free: 19.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001517/8.41, allocations: 0.6798 MB / 3.568 GB, free: 18.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=117): time 4.128e-06/8.41, allocations: 0 / 3.568 GB, free: 18.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=117): time 0.004576/8.414, allocations: 1.12 MB / 3.569 GB, free: 17.37 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.883e-05/8.414, allocations: 248.3 kB / 3.569 GB, free: 17.07 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/8.416, allocations: 0.6846 MB / 3.57 GB, free: 16.38 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002407/8.416, allocations: 33.7 kB / 3.57 GB, free: 16.34 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004727/8.417, allocations: 0.5035 MB / 3.57 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003912/8.417, allocations: 382.2 kB / 3.571 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.349e-05/8.417, allocations: 0 / 3.571 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.743e-05/8.417, allocations: 349.8 kB / 3.571 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009128/8.418, allocations: 357.9 kB / 3.571 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/8.419, allocations: 0.5033 MB / 3.572 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/8.42, allocations: 445.8 kB / 3.572 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/8.42, allocations: 0 / 3.572 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003858/8.424, allocations: 1.089 MB / 3.573 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/8.424, allocations: 5.562 kB / 3.573 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/8.424, allocations: 4 kB / 3.573 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/8.425, allocations: 92.88 kB / 3.573 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002533/8.428, allocations: 267.6 kB / 3.574 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002788/8.431, allocations: 1.472 MB / 3.575 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002177/8.433, allocations: 123.3 kB / 3.575 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/8.433, allocations: 43.92 kB / 3.575 GB, free: 10.54 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.0004171/8.434, allocations: 132.7 kB / 3.575 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003193/8.434, allocations: 118.6 kB / 3.576 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00526/8.439, allocations: 1.406 MB / 3.577 GB, free: 8.859 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/8.439, allocations: 16 kB / 3.577 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/8.439, allocations: 0 / 3.577 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/8.439, allocations: 7.984 kB / 3.577 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002611/8.442, allocations: 1.229 MB / 3.578 GB, free: 7.574 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/8.442, allocations: 0 / 3.578 GB, free: 7.574 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002546/8.444, allocations: 271.6 kB / 3.578 GB, free: 7.309 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009631/8.445, allocations: 80.78 kB / 3.578 GB, free: 7.227 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001344/8.446, allocations: 23.97 kB / 3.578 GB, free: 7.203 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002596/8.448, allocations: 1.488 MB / 3.58 GB, free: 5.598 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/8.448, allocations: 0 / 3.58 GB, free: 5.598 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005309/8.454, allocations: 1.845 MB / 3.582 GB, free: 3.727 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006969/8.461, allocations: 2.956 MB / 3.585 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/8.462, allocations: 403.1 kB / 3.585 GB, free: 340 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003136/8.462, allocations: 7.984 kB / 3.585 GB, free: 332 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002163/8.464, allocations: 107.8 kB / 3.585 GB, free: 224 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/8.465, allocations: 73.19 kB / 3.585 GB, free: 152 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001893/8.465, allocations: 51.97 kB / 3.585 GB, free: 100 kB / 0.8698 GB Notification: Performance of sort global known variables: time 0.3478/8.813, allocations: 0.5477 MB / 3.586 GB, free: 288.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004147/8.817, allocations: 0.7701 MB / 3.587 GB, free: 288.7 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.003953/8.821, allocations: 1.86 MB / 3.588 GB, free: 288.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003204/8.824, allocations: 1.06 MB / 3.589 GB, free: 288.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/8.824, allocations: 4.672 kB / 3.589 GB, free: 288.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00173/8.826, allocations: 0.662 MB / 3.59 GB, free: 288.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003865/8.83, allocations: 397.6 kB / 3.59 GB, free: 288.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/8.84, allocations: 2.32 MB / 3.593 GB, free: 287.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002153/8.842, allocations: 1.49 MB / 3.594 GB, free: 286.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.833e-06/8.842, allocations: 0 / 3.594 GB, free: 286.9 MB / 0.8698 GB