Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.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.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",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.064/2.064, allocations: 248.6 MB / 255.9 MB, free: 7.047 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.001745/0.001745, allocations: 186.9 kB / 315.1 MB, free: 4.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.99/1.99, allocations: 205.2 MB / 0.5658 GB, free: 312 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.001301/0.001301, allocations: 83.33 kB / 0.67 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.497/0.4984, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.7249, allocations: 106.3 MB / 0.8835 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7507/1.476, allocations: 166.7 MB / 1.046 GB, free: 7.402 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004131/1.476, allocations: 101.1 kB / 1.046 GB, free: 7.348 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.1158/1.592, allocations: 24.42 MB / 1.07 GB, free: 2.922 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/1.592, allocations: 8 kB / 1.07 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002819/1.595, allocations: 146.2 kB / 1.07 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009198/1.596, allocations: 325.3 kB / 1.071 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/1.596, allocations: 15.98 kB / 1.071 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/1.596, allocations: 24 kB / 1.071 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001207/1.597, allocations: 394.3 kB / 1.071 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/1.599, allocations: 0.5616 MB / 1.072 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/1.599, allocations: 4 kB / 1.072 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.789e-05/1.599, allocations: 0 / 1.072 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.296e-05/1.599, allocations: 36.61 kB / 1.072 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00637/1.605, allocations: 3.447 MB / 1.075 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007464/1.606, allocations: 318.7 kB / 1.075 GB, free: 13.96 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004056/1.607, allocations: 168.7 kB / 1.076 GB, free: 13.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.432e-05/1.607, allocations: 7.984 kB / 1.076 GB, free: 13.83 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/1.607, allocations: 33.69 kB / 1.076 GB, free: 13.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 3.016e-06/1.607, allocations: 4 kB / 1.076 GB, free: 13.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.00329/1.61, allocations: 0.6336 MB / 1.076 GB, free: 13.24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/1.61, allocations: 81.11 kB / 1.076 GB, free: 13.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004858/1.611, allocations: 262.3 kB / 1.076 GB, free: 12.94 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.228e-05/1.611, allocations: 29.7 kB / 1.077 GB, free: 12.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000195/1.611, allocations: 253.8 kB / 1.077 GB, free: 12.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/1.611, allocations: 84.25 kB / 1.077 GB, free: 12.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/1.611, allocations: 0 / 1.077 GB, free: 12.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001728/1.611, allocations: 340.9 kB / 1.077 GB, free: 12.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004572/1.612, allocations: 169 kB / 1.077 GB, free: 12.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005951/1.612, allocations: 329.9 kB / 1.078 GB, free: 11.83 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008986/1.613, allocations: 254.9 kB / 1.078 GB, free: 11.65 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/1.613, allocations: 4 kB / 1.078 GB, free: 11.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.003344/1.617, allocations: 0.717 MB / 1.079 GB, free: 11.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001161/1.618, allocations: 2.083 MB / 1.081 GB, free: 8.844 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/1.618, allocations: 4 kB / 1.081 GB, free: 8.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002443/1.62, allocations: 193.9 kB / 1.081 GB, free: 8.664 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008427/1.621, allocations: 103.1 kB / 1.081 GB, free: 8.566 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/1.623, allocations: 1.281 MB / 1.082 GB, free: 7.297 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008089/1.624, allocations: 27.86 kB / 1.082 GB, free: 7.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-05/1.624, allocations: 23.69 kB / 1.082 GB, free: 7.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/1.624, allocations: 4 kB / 1.082 GB, free: 7.246 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001509/1.626, allocations: 450.5 kB / 1.083 GB, free: 6.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/1.626, allocations: 4 kB / 1.083 GB, free: 6.906 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.626, allocations: 8.719 kB / 1.083 GB, free: 6.898 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008954/1.627, allocations: 111.3 kB / 1.083 GB, free: 6.793 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/1.627, allocations: 11.94 kB / 1.083 GB, free: 6.781 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005618/1.628, allocations: 19.89 kB / 1.083 GB, free: 6.762 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/1.628, allocations: 19.44 kB / 1.083 GB, free: 6.746 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002187/1.628, allocations: 120.7 kB / 1.083 GB, free: 6.621 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/1.628, allocations: 31.62 kB / 1.083 GB, free: 6.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003583/1.632, allocations: 0.6393 MB / 1.084 GB, free: 6.059 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/1.632, allocations: 4 kB / 1.084 GB, free: 6.055 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/1.632, allocations: 0 / 1.084 GB, free: 6.055 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/1.632, allocations: 3.984 kB / 1.084 GB, free: 6.051 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/1.633, allocations: 0.5962 MB / 1.084 GB, free: 5.504 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.633, allocations: 0 / 1.084 GB, free: 5.504 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004318/1.634, allocations: 43.91 kB / 1.084 GB, free: 5.461 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003076/1.637, allocations: 370 kB / 1.085 GB, free: 5.113 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.546e-05/1.637, allocations: 0 / 1.085 GB, free: 5.113 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006598/1.644, allocations: 3.22 MB / 1.088 GB, free: 1.887 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/1.644, allocations: 4.062 kB / 1.088 GB, free: 1.883 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003454/1.647, allocations: 0.8369 MB / 1.089 GB, free: 1.109 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003582/1.651, allocations: 1.208 MB / 1.09 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003199/1.651, allocations: 149.2 kB / 1.09 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/1.651, allocations: 0 / 1.09 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007677/1.652, allocations: 19.97 kB / 1.09 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.866e-05/1.652, allocations: 19.91 kB / 1.09 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-05/1.652, allocations: 10.56 kB / 1.09 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0003462/1.652, allocations: 198.4 kB / 1.09 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002849/1.655, allocations: 178.7 kB / 1.09 GB, free: 15.44 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000275/1.656, allocations: 119.2 kB / 1.09 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002373/1.658, allocations: 0.6906 MB / 1.091 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/1.658, allocations: 4 kB / 1.091 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/1.659, allocations: 436.4 kB / 1.091 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007198/1.66, allocations: 50.67 kB / 1.092 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/1.662, allocations: 0.5523 MB / 1.092 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009522/1.663, allocations: 0.8793 MB / 1.093 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of SimCode: time 1.293e-06/1.663, allocations: 4 kB / 1.093 GB, free: 12.98 MB / 0.7136 GB