Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.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.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") [: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.197/2.197, allocations: 253.1 MB / 260.4 MB, free: 7.496 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.00244/0.002441, allocations: 181.2 kB / 319.6 MB, free: 3.328 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 2.078/2.078, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001227/0.001226, allocations: 86.83 kB / 0.6746 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.788e-06/9.959e-06, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2029, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6664/0.8694, allocations: 137.7 MB / 1.023 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/0.8697, allocations: 78.33 kB / 1.023 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02591/0.8957, allocations: 6.626 MB / 1.029 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.331e-05/0.8958, allocations: 12 kB / 1.029 GB, free: 11.36 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001041/0.8968, allocations: 0.5572 MB / 1.03 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.8969, allocations: 12.02 kB / 1.03 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.897, allocations: 43.53 kB / 1.03 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007812/0.8978, allocations: 395.8 kB / 1.03 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.8978, allocations: 8 kB / 1.03 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/0.8979, allocations: 16 kB / 1.03 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006062/0.8985, allocations: 187.5 kB / 1.03 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007172/0.8993, allocations: 272 kB / 1.031 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.8993, allocations: 0 / 1.031 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.909e-05/0.8994, allocations: 4 kB / 1.031 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.8994, allocations: 4 kB / 1.031 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0022/0.9016, allocations: 1.098 MB / 1.032 GB, free: 9.188 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005782/0.9022, allocations: 194.6 kB / 1.032 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.9024, allocations: 74.17 kB / 1.032 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.9025, allocations: 0 / 1.032 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.9025, allocations: 41.69 kB / 1.032 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.9025, allocations: 4 kB / 1.032 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0005478/0.9031, allocations: 177.1 kB / 1.032 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/0.9032, allocations: 84.17 kB / 1.032 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003933/0.9036, allocations: 233.5 kB / 1.032 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.9036, allocations: 29.64 kB / 1.032 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.9038, allocations: 165.8 kB / 1.033 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.737e-05/0.9038, allocations: 54.39 kB / 1.033 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.65e-05/0.9039, allocations: 0 / 1.033 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.904, allocations: 341.9 kB / 1.033 GB, free: 7.996 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.9042, allocations: 64 kB / 1.033 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.9044, allocations: 101.9 kB / 1.033 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.9047, allocations: 72.23 kB / 1.033 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.9047, allocations: 0 / 1.033 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005211/0.9052, allocations: 202.5 kB / 1.033 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.9053, allocations: 274.7 kB / 1.034 GB, free: 7.422 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.9054, allocations: 4 kB / 1.034 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.9054, allocations: 0 / 1.034 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.9058, allocations: 43.28 kB / 1.034 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.9058, allocations: 0 / 1.034 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.906, allocations: 19.84 kB / 1.034 GB, free: 7.359 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.9061, allocations: 4 kB / 1.034 GB, free: 7.355 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.9061, allocations: 6.5 kB / 1.034 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004028/0.9065, allocations: 149.1 kB / 1.034 GB, free: 7.262 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.9065, allocations: 0 / 1.034 GB, free: 7.262 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.713e-06/0.9065, allocations: 4 kB / 1.034 GB, free: 7.258 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.9068, allocations: 27.92 kB / 1.034 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.9068, allocations: 4 kB / 1.034 GB, free: 7.227 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.907, allocations: 7.906 kB / 1.034 GB, free: 7.219 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.907, allocations: 7.625 kB / 1.034 GB, free: 7.215 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (actSet.y,actAct.y,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001349/0.9072, allocations: 108.9 kB / 1.034 GB, free: 7.102 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.372e-05/0.9073, allocations: 31.66 kB / 1.034 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.9074, allocations: 28.64 kB / 1.034 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.9074, allocations: 0 / 1.034 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.9075, allocations: 3.984 kB / 1.034 GB, free: 7.047 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.9075, allocations: 0 / 1.034 GB, free: 7.047 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005766/0.9081, allocations: 362.6 kB / 1.034 GB, free: 6.746 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.9081, allocations: 0 / 1.034 GB, free: 6.746 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/0.9084, allocations: 31.98 kB / 1.034 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.9084, allocations: 4 kB / 1.034 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.9085, allocations: 3.438 kB / 1.034 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.9085, allocations: 0 / 1.034 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.9085, allocations: 0 / 1.034 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007541/0.9093, allocations: 380.6 kB / 1.035 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.9094, allocations: 130.7 kB / 1.035 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.687e-05/0.9095, allocations: 0 / 1.035 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.9098, allocations: 12.06 kB / 1.035 GB, free: 6.289 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.685e-05/0.9099, allocations: 19.84 kB / 1.035 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.9099, allocations: 7.984 kB / 1.035 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002889/0.9102, allocations: 187.8 kB / 1.035 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006091/0.9108, allocations: 87.67 kB / 1.035 GB, free: 6.031 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (actSet.y,actAct.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0002405/0.9111, allocations: 111.1 kB / 1.035 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007029/0.9118, allocations: 244.6 kB / 1.036 GB, free: 5.773 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.9118, allocations: 4 kB / 1.036 GB, free: 5.77 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.912, allocations: 77.56 kB / 1.036 GB, free: 5.727 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007303/0.9128, allocations: 61.78 kB / 1.036 GB, free: 5.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.9143, allocations: 396.3 kB / 1.036 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006352/0.915, allocations: 0.8031 MB / 1.037 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of SimCode: time 1.643e-06/0.915, allocations: 0 / 1.037 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of Templates: time 0.01272/0.9277, allocations: 3.855 MB / 1.041 GB, free: 0.6797 MB / 0.6511 GB