Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_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.461/2.461, allocations: 248.6 MB / 255.9 MB, free: 7.164 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.001742/0.001741, allocations: 187.4 kB / 315.1 MB, free: 4.285 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.026/2.026, allocations: 205.1 MB / 0.5658 GB, free: 384 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.001378/0.001378, allocations: 86.77 kB / 0.67 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5063/0.5077, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.7179, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7634/1.481, allocations: 163.1 MB / 1.043 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003578/1.482, allocations: 96.92 kB / 1.043 GB, free: 10.99 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.1016/1.583, allocations: 23.56 MB / 1.066 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/1.583, allocations: 8 kB / 1.066 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002544/1.586, allocations: 143.3 kB / 1.066 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009733/1.587, allocations: 331.7 kB / 1.066 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/1.587, allocations: 12 kB / 1.066 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/1.587, allocations: 20 kB / 1.066 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001204/1.588, allocations: 400.9 kB / 1.067 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/1.59, allocations: 0.5607 MB / 1.067 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/1.59, allocations: 0 / 1.067 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-05/1.59, allocations: 4 kB / 1.067 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.991e-05/1.59, allocations: 32.45 kB / 1.067 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006553/1.597, allocations: 3.451 MB / 1.071 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007695/1.597, allocations: 317.2 kB / 1.071 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004042/1.598, allocations: 164.6 kB / 1.071 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.62e-05/1.598, allocations: 4 kB / 1.071 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/1.598, allocations: 41.88 kB / 1.071 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 3.517e-06/1.598, allocations: 0 / 1.071 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of matching and sorting (n=26): time 0.00337/1.601, allocations: 0.6337 MB / 1.072 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/1.601, allocations: 81.11 kB / 1.072 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005419/1.602, allocations: 274.7 kB / 1.072 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.925e-05/1.602, allocations: 25.7 kB / 1.072 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/1.602, allocations: 244.3 kB / 1.072 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/1.602, allocations: 85.56 kB / 1.072 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/1.602, allocations: 0 / 1.072 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001468/1.603, allocations: 343.6 kB / 1.073 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004408/1.603, allocations: 166.3 kB / 1.073 GB, free: 0.5352 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000584/1.604, allocations: 332.7 kB / 1.073 GB, free: 208 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008737/1.605, allocations: 250.7 kB / 1.073 GB, free: 24 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/1.605, allocations: 0 / 1.073 GB, free: 24 kB / 0.6823 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00328/1.608, allocations: 0.7179 MB / 1.074 GB, free: 15.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009722/1.609, allocations: 2.079 MB / 1.076 GB, free: 13.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/1.609, allocations: 7.984 kB / 1.076 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002394/1.611, allocations: 207.7 kB / 1.076 GB, free: 13.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008179/1.612, allocations: 86.2 kB / 1.077 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/1.614, allocations: 1.286 MB / 1.078 GB, free: 11.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007551/1.615, allocations: 35.64 kB / 1.078 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.124e-05/1.615, allocations: 18.38 kB / 1.078 GB, free: 11.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/1.615, allocations: 4 kB / 1.078 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001381/1.617, allocations: 445.5 kB / 1.078 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/1.617, allocations: 8.719 kB / 1.078 GB, free: 11.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/1.617, allocations: 12 kB / 1.078 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008637/1.618, allocations: 107.7 kB / 1.078 GB, free: 11.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/1.618, allocations: 19.91 kB / 1.078 GB, free: 11.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004942/1.618, allocations: 15.84 kB / 1.078 GB, free: 11.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.436e-05/1.618, allocations: 23.61 kB / 1.078 GB, free: 11.11 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.0002107/1.618, allocations: 120.7 kB / 1.079 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/1.619, allocations: 31.62 kB / 1.079 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003386/1.622, allocations: 0.6443 MB / 1.079 GB, free: 10.42 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/1.622, allocations: 4 kB / 1.079 GB, free: 10.42 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/1.622, allocations: 0 / 1.079 GB, free: 10.42 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/1.622, allocations: 0 / 1.079 GB, free: 10.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/1.624, allocations: 0.5998 MB / 1.08 GB, free: 9.867 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/1.624, allocations: 0 / 1.08 GB, free: 9.867 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/1.624, allocations: 39.92 kB / 1.08 GB, free: 9.828 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002986/1.627, allocations: 370.2 kB / 1.08 GB, free: 9.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.549e-05/1.627, allocations: 4 kB / 1.08 GB, free: 9.477 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006187/1.633, allocations: 3.225 MB / 1.083 GB, free: 6.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.633, allocations: 0 / 1.083 GB, free: 6.25 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003311/1.637, allocations: 0.8306 MB / 1.084 GB, free: 5.48 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003609/1.64, allocations: 1.213 MB / 1.085 GB, free: 4.332 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003529/1.641, allocations: 139.5 kB / 1.085 GB, free: 4.184 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.456e-05/1.641, allocations: 3.938 kB / 1.085 GB, free: 4.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006862/1.642, allocations: 27.95 kB / 1.085 GB, free: 4.152 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/1.642, allocations: 15.05 kB / 1.086 GB, free: 4.141 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.885e-05/1.642, allocations: 11.25 kB / 1.086 GB, free: 4.133 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0003547/1.642, allocations: 196.4 kB / 1.086 GB, free: 3.977 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002998/1.645, allocations: 179.6 kB / 1.086 GB, free: 3.809 MB / 0.698 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.000303/1.645, allocations: 115.2 kB / 1.086 GB, free: 3.684 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002415/1.648, allocations: 0.7009 MB / 1.087 GB, free: 3.164 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.648, allocations: 0 / 1.087 GB, free: 3.164 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00136/1.649, allocations: 429.6 kB / 1.087 GB, free: 2.781 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008225/1.65, allocations: 49.92 kB / 1.087 GB, free: 2.746 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/1.652, allocations: 0.549 MB / 1.088 GB, free: 2.234 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007842/1.653, allocations: 0.8918 MB / 1.089 GB, free: 1.336 MB / 0.698 GB Notification: Performance of SimCode: time 1.273e-06/1.653, allocations: 0 / 1.089 GB, free: 1.336 MB / 0.698 GB