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.Nor.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.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") [: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.401/2.401, allocations: 253.1 MB / 260.4 MB, free: 7.48 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.002404/0.002404, allocations: 177.3 kB / 319.6 MB, free: 3.324 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.913/1.913, 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.00135/0.00135, allocations: 95.33 kB / 0.6746 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.746e-05/1.765e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2827, allocations: 106.2 MB / 0.8881 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7429/1.026, allocations: 131.5 MB / 1.016 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/1.026, allocations: 66 kB / 1.016 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003581/1.03, allocations: 0.6072 MB / 1.017 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.037e-06/1.03, allocations: 0 / 1.017 GB, free: 6.363 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006401/1.03, allocations: 358.3 kB / 1.017 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/1.03, allocations: 8.031 kB / 1.017 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/1.03, allocations: 7.906 kB / 1.017 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/1.031, allocations: 170.6 kB / 1.018 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/1.031, allocations: 7.891 kB / 1.018 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/1.031, allocations: 4 kB / 1.018 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001097/1.031, allocations: 19 kB / 1.018 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/1.031, allocations: 45.38 kB / 1.018 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/1.031, allocations: 0 / 1.018 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/1.031, allocations: 4 kB / 1.018 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/1.031, allocations: 0 / 1.018 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/1.032, allocations: 251.7 kB / 1.018 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/1.032, allocations: 45.38 kB / 1.018 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.52e-05/1.032, allocations: 16.61 kB / 1.018 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/1.032, allocations: 0 / 1.018 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/1.032, allocations: 58.41 kB / 1.018 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/1.032, allocations: 2.625 kB / 1.018 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002398/1.032, allocations: 66.95 kB / 1.018 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/1.032, allocations: 55.41 kB / 1.018 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/1.032, allocations: 112.5 kB / 1.018 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/1.032, allocations: 25.7 kB / 1.018 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.321e-05/1.033, allocations: 88.89 kB / 1.018 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/1.033, allocations: 7.031 kB / 1.018 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/1.033, allocations: 0 / 1.018 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.033, allocations: 326.3 kB / 1.019 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.658e-05/1.033, allocations: 11.31 kB / 1.019 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-05/1.033, allocations: 32.64 kB / 1.019 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.866e-05/1.033, allocations: 19.31 kB / 1.019 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.033, allocations: 3.938 kB / 1.019 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001605/1.033, allocations: 64.28 kB / 1.019 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/1.033, allocations: 4 kB / 1.019 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/1.033, allocations: 4 kB / 1.019 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/1.033, allocations: 0 / 1.019 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.641e-05/1.033, allocations: 15.3 kB / 1.019 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/1.033, allocations: 64 / 1.019 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/1.033, allocations: 22.36 kB / 1.019 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/1.033, allocations: 4 kB / 1.019 GB, free: 4.43 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,nor1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 9.796e-05/1.034, allocations: 101 kB / 1.019 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/1.034, allocations: 7.906 kB / 1.019 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.864e-05/1.034, allocations: 12.19 kB / 1.019 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/1.034, allocations: 7.938 kB / 1.019 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.034, allocations: 3.984 kB / 1.019 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/1.034, allocations: 0 / 1.019 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/1.034, allocations: 152 kB / 1.019 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.034, allocations: 0 / 1.019 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.782e-05/1.034, allocations: 4 kB / 1.019 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/1.034, allocations: 3.938 kB / 1.019 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/1.034, allocations: 3.188 kB / 1.019 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.034, allocations: 0 / 1.019 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/1.034, allocations: 0 / 1.019 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001684/1.034, allocations: 95.56 kB / 1.019 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/1.034, allocations: 84.89 kB / 1.019 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/1.034, allocations: 4 kB / 1.019 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/1.034, allocations: 16.86 kB / 1.019 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/1.035, allocations: 7.984 kB / 1.019 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/1.035, allocations: 4 kB / 1.019 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.292e-05/1.035, allocations: 93.2 kB / 1.019 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002675/1.035, allocations: 8 kB / 1.019 GB, free: 3.777 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,nor1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001629/1.035, allocations: 95.25 kB / 1.02 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001646/1.035, allocations: 38.38 kB / 1.02 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/1.035, allocations: 8.125 kB / 1.02 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.263e-05/1.035, allocations: 15.31 kB / 1.02 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/1.036, allocations: 27.94 kB / 1.02 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/1.036, allocations: 96.27 kB / 1.02 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003895/1.037, allocations: 0.6997 MB / 1.02 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of SimCode: time 7.32e-07/1.037, allocations: 3.938 kB / 1.02 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of Templates: time 0.00437/1.041, allocations: 0.8329 MB / 1.021 GB, free: 1.953 MB / 0.6355 GB