Running: ./testmodel.py --libraries=/var/lib/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 (/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.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") [: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.267/2.267, allocations: 253.1 MB / 260.4 MB, free: 7.555 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.001658/0.001657, allocations: 177.3 kB / 319.6 MB, free: 3.344 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.902/1.902, allocations: 205.4 MB / 0.5704 GB, free: 15.14 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.001299/0.001298, allocations: 94.59 kB / 0.6746 GB, free: 4.523 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.094e-05/1.113e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2382, allocations: 106.3 MB / 0.8881 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7641/1.002, allocations: 163 MB / 1.047 GB, free: 9.254 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004966/1.003, allocations: 98.42 kB / 1.047 GB, free: 9.199 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.1133/1.116, allocations: 22.91 MB / 1.07 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.258e-05/1.116, allocations: 11.94 kB / 1.07 GB, free: 6.168 MB / 0.6823 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.002043/1.118, allocations: 0.6444 MB / 1.07 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/1.119, allocations: 8.031 kB / 1.07 GB, free: 5.496 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002656/1.121, allocations: 143.3 kB / 1.071 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009586/1.122, allocations: 330.3 kB / 1.071 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/1.122, allocations: 12 kB / 1.071 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/1.122, allocations: 20 kB / 1.071 GB, free: 4.988 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00152/1.124, allocations: 402.1 kB / 1.071 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/1.126, allocations: 0.5581 MB / 1.072 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/1.126, allocations: 8 kB / 1.072 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.921e-05/1.126, allocations: 0 / 1.072 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.004e-05/1.126, allocations: 28.64 kB / 1.072 GB, free: 4.203 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007639/1.134, allocations: 3.45 MB / 1.075 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009548/1.135, allocations: 314.2 kB / 1.075 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005503/1.135, allocations: 165.7 kB / 1.076 GB, free: 440 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.976e-05/1.135, allocations: 7.984 kB / 1.076 GB, free: 432 kB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/1.135, allocations: 34 kB / 1.076 GB, free: 392 kB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 3.787e-06/1.135, allocations: 0 / 1.076 GB, free: 392 kB / 0.6823 GB Notification: Performance of matching and sorting (n=26): time 0.004146/1.14, allocations: 0.6394 MB / 1.076 GB, free: 15.83 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/1.14, allocations: 77.11 kB / 1.076 GB, free: 15.74 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005979/1.14, allocations: 269 kB / 1.077 GB, free: 15.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.948e-05/1.14, allocations: 25.7 kB / 1.077 GB, free: 15.49 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/1.141, allocations: 248.4 kB / 1.077 GB, free: 15.26 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/1.141, allocations: 92 kB / 1.077 GB, free: 15.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/1.141, allocations: 0 / 1.077 GB, free: 15.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002018/1.141, allocations: 338 kB / 1.077 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005821/1.142, allocations: 168.7 kB / 1.077 GB, free: 14.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007602/1.142, allocations: 324.7 kB / 1.078 GB, free: 14.42 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/1.144, allocations: 258.5 kB / 1.078 GB, free: 14.24 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/1.144, allocations: 4 kB / 1.078 GB, free: 14.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.004296/1.148, allocations: 0.7137 MB / 1.079 GB, free: 13.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001206/1.149, allocations: 2.084 MB / 1.081 GB, free: 11.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.804e-05/1.149, allocations: 8 kB / 1.081 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00298/1.152, allocations: 201.4 kB / 1.081 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/1.153, allocations: 87.39 kB / 1.081 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002654/1.156, allocations: 1.297 MB / 1.082 GB, free: 9.879 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009746/1.157, allocations: 23.88 kB / 1.082 GB, free: 9.855 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.369e-05/1.157, allocations: 23.34 kB / 1.082 GB, free: 9.836 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/1.157, allocations: 4 kB / 1.082 GB, free: 9.832 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001887/1.159, allocations: 463.2 kB / 1.083 GB, free: 9.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/1.159, allocations: 4 kB / 1.083 GB, free: 9.477 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/1.159, allocations: 8 kB / 1.083 GB, free: 9.469 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/1.16, allocations: 99.83 kB / 1.083 GB, free: 9.375 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-05/1.16, allocations: 16.58 kB / 1.083 GB, free: 9.359 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006956/1.161, allocations: 23.83 kB / 1.083 GB, free: 9.336 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.578e-05/1.161, allocations: 23.94 kB / 1.083 GB, free: 9.316 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.0002832/1.161, allocations: 128.3 kB / 1.083 GB, free: 9.188 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/1.162, allocations: 31.62 kB / 1.083 GB, free: 9.156 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004384/1.166, allocations: 0.6344 MB / 1.084 GB, free: 8.625 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/1.166, allocations: 4 kB / 1.084 GB, free: 8.621 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/1.166, allocations: 0 / 1.084 GB, free: 8.621 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/1.166, allocations: 0 / 1.084 GB, free: 8.621 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/1.168, allocations: 0.5922 MB / 1.084 GB, free: 8.078 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/1.168, allocations: 7.938 kB / 1.084 GB, free: 8.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005183/1.168, allocations: 43.44 kB / 1.084 GB, free: 8.031 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003941/1.172, allocations: 356.2 kB / 1.085 GB, free: 7.695 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-05/1.173, allocations: 0 / 1.085 GB, free: 7.695 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008193/1.181, allocations: 3.224 MB / 1.088 GB, free: 4.469 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/1.181, allocations: 4 kB / 1.088 GB, free: 4.465 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00354/1.184, allocations: 0.8391 MB / 1.089 GB, free: 3.688 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003833/1.185, allocations: 143.8 kB / 1.089 GB, free: 3.539 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.637e-05/1.185, allocations: 4 kB / 1.089 GB, free: 3.535 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006384/1.186, allocations: 23.97 kB / 1.089 GB, free: 3.512 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.18e-05/1.186, allocations: 22.88 kB / 1.089 GB, free: 3.492 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.432e-05/1.186, allocations: 7.312 kB / 1.089 GB, free: 3.488 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0003495/1.186, allocations: 199.7 kB / 1.089 GB, free: 3.328 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001303/1.187, allocations: 171.5 kB / 1.089 GB, free: 3.164 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.000285/1.188, allocations: 111.1 kB / 1.089 GB, free: 3.043 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002428/1.19, allocations: 0.6922 MB / 1.09 GB, free: 2.531 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/1.19, allocations: 0.5 kB / 1.09 GB, free: 2.531 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/1.191, allocations: 432.7 kB / 1.09 GB, free: 2.145 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007145/1.192, allocations: 65.48 kB / 1.091 GB, free: 2.098 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/1.194, allocations: 0.5387 MB / 1.091 GB, free: 1.598 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008402/1.195, allocations: 0.8837 MB / 1.092 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of SimCode: time 9.42e-07/1.195, allocations: 0 / 1.092 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of Templates: time 0.02099/1.216, allocations: 7.19 MB / 1.099 GB, free: 9.562 MB / 0.7136 GB