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.GeneralizedSensor.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.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [: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.321/2.321, allocations: 253.1 MB / 260.4 MB, free: 7.578 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.001805/0.001805, allocations: 185.2 kB / 319.6 MB, free: 3.316 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.832/1.832, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001271/0.001271, allocations: 79.41 kB / 0.6746 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.046e-05/1.057e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2501, allocations: 106.2 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7385/0.9887, allocations: 158.5 MB / 1.043 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004904/0.9892, allocations: 97.45 kB / 1.043 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.0848/1.074, allocations: 16.03 MB / 1.059 GB, free: 208 kB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.2e-05/1.074, allocations: 8 kB / 1.059 GB, free: 200 kB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001306/1.075, allocations: 0.503 MB / 1.059 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/1.076, allocations: 16.03 kB / 1.059 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/1.077, allocations: 95.5 kB / 1.059 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006809/1.078, allocations: 265.3 kB / 1.059 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/1.078, allocations: 11.94 kB / 1.059 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.015e-05/1.078, allocations: 12 kB / 1.06 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007272/1.079, allocations: 235.1 kB / 1.06 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000822/1.079, allocations: 335 kB / 1.06 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/1.079, allocations: 3.906 kB / 1.06 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.453e-05/1.079, allocations: 0 / 1.06 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.276e-05/1.08, allocations: 24.42 kB / 1.06 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002868/1.082, allocations: 1.474 MB / 1.062 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004625/1.083, allocations: 204 kB / 1.062 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/1.083, allocations: 115.3 kB / 1.062 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002067/1.083, allocations: 85.11 kB / 1.062 GB, free: 13 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/1.083, allocations: 41.73 kB / 1.062 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.975e-06/1.083, allocations: 0 / 1.062 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.002344/1.086, allocations: 0.7215 MB / 1.063 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/1.086, allocations: 59.41 kB / 1.063 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/1.086, allocations: 159.4 kB / 1.063 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/1.086, allocations: 25.7 kB / 1.063 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/1.086, allocations: 161.3 kB / 1.063 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.554e-05/1.086, allocations: 65.03 kB / 1.063 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/1.086, allocations: 0 / 1.063 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.087, allocations: 330.5 kB / 1.063 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/1.087, allocations: 105.6 kB / 1.064 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/1.087, allocations: 171.3 kB / 1.064 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005912/1.088, allocations: 153.5 kB / 1.064 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/1.088, allocations: 4 kB / 1.064 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001432/1.089, allocations: 409.8 kB / 1.064 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/1.089, allocations: 4 kB / 1.064 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/1.089, allocations: 0 / 1.064 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006313/1.09, allocations: 100.1 kB / 1.064 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005461/1.091, allocations: 51.09 kB / 1.064 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002903/1.094, allocations: 1.646 MB / 1.066 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004399/1.094, allocations: 4 kB / 1.066 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/1.094, allocations: 11.98 kB / 1.066 GB, free: 9.113 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002013/1.094, allocations: 109.8 kB / 1.066 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.902e-05/1.094, allocations: 23.66 kB / 1.066 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/1.096, allocations: 311.2 kB / 1.066 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/1.096, allocations: 4 kB / 1.066 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/1.096, allocations: 0 / 1.066 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/1.096, allocations: 4.172 kB / 1.066 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/1.097, allocations: 0.6815 MB / 1.067 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/1.097, allocations: 3.984 kB / 1.067 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006023/1.098, allocations: 51.91 kB / 1.067 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/1.098, allocations: 7.938 kB / 1.067 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/1.098, allocations: 0 / 1.067 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.324e-05/1.098, allocations: 4 kB / 1.067 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.098, allocations: 0 / 1.067 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00129/1.099, allocations: 0.5533 MB / 1.068 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/1.1, allocations: 116.6 kB / 1.068 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.731e-05/1.1, allocations: 0 / 1.068 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003204/1.1, allocations: 4 kB / 1.068 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/1.1, allocations: 19.77 kB / 1.068 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/1.1, allocations: 11.98 kB / 1.068 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001788/1.1, allocations: 130.7 kB / 1.068 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006076/1.101, allocations: 67.94 kB / 1.068 GB, free: 7.27 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002453/1.101, allocations: 115.2 kB / 1.068 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00122/1.102, allocations: 389.8 kB / 1.069 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.102, allocations: 0 / 1.069 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002922/1.103, allocations: 118.5 kB / 1.069 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/1.103, allocations: 27.61 kB / 1.069 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/1.105, allocations: 0.4936 MB / 1.069 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006388/1.106, allocations: 0.7905 MB / 1.07 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of SimCode: time 1.403e-06/1.106, allocations: 0 / 1.07 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of Templates: time 0.01051/1.116, allocations: 2.95 MB / 1.073 GB, free: 2.523 MB / 0.6823 GB