Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [: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.319/2.319, allocations: 253.1 MB / 260.4 MB, free: 7.457 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.001756/0.001756, allocations: 180.5 kB / 319.6 MB, free: 3.309 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.072/2.072, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001354/0.001353, allocations: 86.14 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.127e-05/1.128e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2404, allocations: 106.2 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7335/0.974, allocations: 131.8 MB / 1.017 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.9743, allocations: 67.66 kB / 1.017 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01054/0.9849, allocations: 1.881 MB / 1.019 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.081e-05/0.985, allocations: 10.62 kB / 1.019 GB, free: 4.828 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001279/0.9863, allocations: 476.4 kB / 1.019 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.9863, allocations: 8.031 kB / 1.019 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.9865, allocations: 15.81 kB / 1.019 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004907/0.987, allocations: 219.6 kB / 1.019 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.987, allocations: 4.844 kB / 1.019 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.244e-05/0.9871, allocations: 16.17 kB / 1.019 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003619/0.9875, allocations: 96.34 kB / 1.019 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003774/0.9879, allocations: 146.4 kB / 1.02 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.9879, allocations: 0 / 1.02 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.9879, allocations: 3.312 kB / 1.02 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.9879, allocations: 4 kB / 1.02 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.9896, allocations: 0.5621 MB / 1.02 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.9901, allocations: 213.1 kB / 1.02 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.9903, allocations: 54.33 kB / 1.02 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.9904, allocations: 4 kB / 1.02 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002784/0.9906, allocations: 107.7 kB / 1.02 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 4.008e-06/0.9907, allocations: 0 / 1.02 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0004885/0.9912, allocations: 143.8 kB / 1.021 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.9912, allocations: 55.41 kB / 1.021 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.9915, allocations: 165.4 kB / 1.021 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.9915, allocations: 25.7 kB / 1.021 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/0.9916, allocations: 103.4 kB / 1.021 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.495e-05/0.9917, allocations: 37.66 kB / 1.021 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.492e-05/0.9917, allocations: 3.125 kB / 1.021 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.9919, allocations: 329.1 kB / 1.021 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.9921, allocations: 42 kB / 1.021 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.9923, allocations: 94.86 kB / 1.021 GB, free: 2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.9924, allocations: 39.05 kB / 1.021 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.9925, allocations: 3.984 kB / 1.021 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004571/0.9929, allocations: 162.2 kB / 1.022 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.993, allocations: 8 kB / 1.022 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.993, allocations: 0 / 1.022 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.993, allocations: 4 kB / 1.022 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.9932, allocations: 19.44 kB / 1.022 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.9932, allocations: 3.984 kB / 1.022 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004364/0.9937, allocations: 43.88 kB / 1.022 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.367e-05/0.9937, allocations: 8 kB / 1.022 GB, free: 1.742 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.booPul3.pulseStart,booPul3.pulseStart,$PRE.booPul4.pulseStart,booPul4.pulseStart,$PRE.booPul5.pulseStart,booPul5.pulseStart,mulOr0.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001846/0.9939, allocations: 126.6 kB / 1.022 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/0.994, allocations: 15.81 kB / 1.022 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.9941, allocations: 22.86 kB / 1.022 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.9941, allocations: 0 / 1.022 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.9942, allocations: 0 / 1.022 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.9942, allocations: 3.938 kB / 1.022 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009683/0.9952, allocations: 456.9 kB / 1.022 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.9952, allocations: 0 / 1.022 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.643e-05/0.9952, allocations: 4 kB / 1.022 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.9953, allocations: 7.75 kB / 1.022 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.9953, allocations: 0 / 1.022 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.9953, allocations: 0 / 1.022 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/0.9953, allocations: 3.906 kB / 1.022 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004359/0.9958, allocations: 244.3 kB / 1.023 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.541e-05/0.9959, allocations: 92.55 kB / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/0.9959, allocations: 3.938 kB / 1.023 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004504/0.9964, allocations: 43.95 kB / 1.023 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.9966, allocations: 31.89 kB / 1.023 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.9966, allocations: 7.5 kB / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001494/0.9968, allocations: 112.8 kB / 1.023 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004436/0.9972, allocations: 28 kB / 1.023 GB, free: 0.6016 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.pulseStart,booPul2.pulseStart,booPul3.pulseStart,booPul4.pulseStart,booPul5.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002401/0.9975, allocations: 103.2 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004871/0.998, allocations: 132.6 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.998, allocations: 0 / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.9982, allocations: 79 kB / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005961/0.9988, allocations: 29.45 kB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.9999, allocations: 255.5 kB / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006053/1.001, allocations: 0.7464 MB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of SimCode: time 1.522e-06/1.001, allocations: 0 / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of Templates: time 0.009238/1.01, allocations: 2.264 MB / 1.026 GB, free: 13.07 MB / 0.6511 GB