Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [: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.428/2.428, allocations: 253.1 MB / 260.4 MB, free: 7.582 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.002227/0.002227, allocations: 189.2 kB / 319.6 MB, free: 3.32 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.793/1.793, 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.001663/0.001663, allocations: 82.78 kB / 0.6746 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.428e-06/9.588e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1983, allocations: 106.3 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6089/0.8073, allocations: 132.6 MB / 1.018 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003311/0.8077, allocations: 93.73 kB / 1.018 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.008873/0.8165, allocations: 1.517 MB / 1.019 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.8166, allocations: 0 / 1.019 GB, free: 4.387 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001004/0.8176, allocations: 436.8 kB / 1.02 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.8177, allocations: 8.031 kB / 1.02 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.109e-05/0.8178, allocations: 11.91 kB / 1.02 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.818, allocations: 183.3 kB / 1.02 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.818, allocations: 4 kB / 1.02 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.818, allocations: 8.781 kB / 1.02 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001871/0.8182, allocations: 42 kB / 1.02 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.8184, allocations: 77.38 kB / 1.02 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.8185, allocations: 0 / 1.02 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.8185, allocations: 3.938 kB / 1.02 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.8185, allocations: 0 / 1.02 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.8197, allocations: 384.8 kB / 1.02 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.8198, allocations: 56.02 kB / 1.02 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.292e-05/0.8199, allocations: 23.56 kB / 1.02 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.82, allocations: 0 / 1.02 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.82, allocations: 39.05 kB / 1.02 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.82, allocations: 0 / 1.02 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0002718/0.8203, allocations: 64.22 kB / 1.02 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.8204, allocations: 56.16 kB / 1.02 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.8205, allocations: 131.4 kB / 1.021 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.8205, allocations: 25.7 kB / 1.021 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.8206, allocations: 101.8 kB / 1.021 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.8207, allocations: 15.12 kB / 1.021 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.228e-06/0.8207, allocations: 3.938 kB / 1.021 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.8208, allocations: 317.6 kB / 1.021 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.365e-05/0.8209, allocations: 18.56 kB / 1.021 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.186e-05/0.821, allocations: 18.56 kB / 1.021 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.161e-05/0.8211, allocations: 15.69 kB / 1.021 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8211, allocations: 4 kB / 1.021 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002064/0.8213, allocations: 71.83 kB / 1.021 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.8213, allocations: 8 kB / 1.021 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.8213, allocations: 4.703 kB / 1.021 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.8214, allocations: 3.984 kB / 1.021 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.8215, allocations: 11.75 kB / 1.021 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.8216, allocations: 3.906 kB / 1.021 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/0.8219, allocations: 35.97 kB / 1.021 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.822, allocations: 4 kB / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001007/0.8221, allocations: 112.9 kB / 1.021 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.8221, allocations: 7.906 kB / 1.021 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.711e-05/0.8222, allocations: 7.562 kB / 1.021 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.8222, allocations: 0 / 1.021 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.8222, allocations: 0 / 1.021 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.8222, allocations: 4 kB / 1.021 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.8225, allocations: 170.9 kB / 1.022 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8225, allocations: 0 / 1.022 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.8226, allocations: 15.98 kB / 1.022 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.8226, allocations: 4 kB / 1.022 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.8227, allocations: 0 / 1.022 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.8227, allocations: 6.609 kB / 1.022 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.8227, allocations: 0 / 1.022 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002518/0.8229, allocations: 161.2 kB / 1.022 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/0.823, allocations: 92.95 kB / 1.022 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.8231, allocations: 0 / 1.022 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003908/0.8235, allocations: 35.97 kB / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.185e-05/0.8236, allocations: 14.97 kB / 1.022 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.8236, allocations: 4 kB / 1.022 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001397/0.8237, allocations: 98.2 kB / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004052/0.8242, allocations: 15.94 kB / 1.022 GB, free: 1.445 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0003108/0.8245, allocations: 102.5 kB / 1.022 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007625/0.8253, allocations: 57.47 kB / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.8254, allocations: 0 / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003277/0.8257, allocations: 26.62 kB / 1.022 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009557/0.8267, allocations: 13.75 kB / 1.022 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008479/0.8276, allocations: 112.3 kB / 1.022 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006271/0.8283, allocations: 0.7192 MB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of SimCode: time 1.744e-06/0.8283, allocations: 0 / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of Templates: time 0.007204/0.8355, allocations: 1.051 MB / 1.024 GB, free: 15.38 MB / 0.6511 GB