Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") [: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 8.0.0/package.mo): time 2.083/2.083, allocations: 284.9 MB / 292.2 MB, free: 1.461 MB / 227.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001563/0.001563, allocations: 195.2 kB / 360.4 MB, free: 15.6 MB / 291.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.1 MB / 0.6188 GB, free: 6.594 MB / 467.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001214/0.001213, allocations: 90.97 kB / 0.7318 GB, free: 47.13 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 1.093e-05/1.109e-05, allocations: 0 / 0.8503 GB, free: 13.66 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5995/0.5996, allocations: 115.2 MB / 0.9628 GB, free: 86.42 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2014/0.801, allocations: 137.2 MB / 1.097 GB, free: 13.23 MB / 0.7061 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.8014, allocations: 74.78 kB / 1.097 GB, free: 13.16 MB / 0.7061 GB Notification: Performance of FrontEnd: time 0.008949/0.8103, allocations: 1.689 MB / 1.099 GB, free: 11.51 MB / 0.7061 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.8104, allocations: 0 / 1.099 GB, free: 11.51 MB / 0.7061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003804/0.8107, allocations: 372.2 kB / 1.099 GB, free: 11.1 MB / 0.7061 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.8108, allocations: 9.438 kB / 1.099 GB, free: 11.09 MB / 0.7061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.8109, allocations: 5.875 kB / 1.099 GB, free: 11.09 MB / 0.7061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.811, allocations: 182.9 kB / 1.099 GB, free: 10.87 MB / 0.7061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.8111, allocations: 0 / 1.099 GB, free: 10.87 MB / 0.7061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.8111, allocations: 4 kB / 1.099 GB, free: 10.86 MB / 0.7061 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.651e-05/0.8112, allocations: 19.92 kB / 1.099 GB, free: 10.84 MB / 0.7061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.836e-05/0.8113, allocations: 46.16 kB / 1.099 GB, free: 10.79 MB / 0.7061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.8113, allocations: 4.844 kB / 1.099 GB, free: 10.79 MB / 0.7061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.8113, allocations: 0 / 1.099 GB, free: 10.79 MB / 0.7061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.8114, allocations: 0.5625 kB / 1.099 GB, free: 10.79 MB / 0.7061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005072/0.8119, allocations: 309.3 kB / 1.099 GB, free: 10.45 MB / 0.7061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.627e-05/0.812, allocations: 22.58 kB / 1.099 GB, free: 10.42 MB / 0.7061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.332e-05/0.812, allocations: 15.39 kB / 1.099 GB, free: 10.4 MB / 0.7061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.812, allocations: 5.594 kB / 1.099 GB, free: 10.4 MB / 0.7061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.923e-05/0.8121, allocations: 59.34 kB / 1.1 GB, free: 10.33 MB / 0.7061 GB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/0.8121, allocations: 0 / 1.1 GB, free: 10.33 MB / 0.7061 GB Notification: Performance of matching and sorting (n=4): time 0.000194/0.8123, allocations: 53.59 kB / 1.1 GB, free: 10.27 MB / 0.7061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.8124, allocations: 56.91 kB / 1.1 GB, free: 10.2 MB / 0.7061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.8125, allocations: 116.7 kB / 1.1 GB, free: 10.09 MB / 0.7061 GB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.8126, allocations: 33.7 kB / 1.1 GB, free: 10.05 MB / 0.7061 GB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/0.8126, allocations: 84.12 kB / 1.1 GB, free: 9.961 MB / 0.7061 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.8127, allocations: 11.91 kB / 1.1 GB, free: 9.949 MB / 0.7061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/0.8127, allocations: 0 / 1.1 GB, free: 9.949 MB / 0.7061 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.8128, allocations: 322.8 kB / 1.1 GB, free: 9.625 MB / 0.7061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.813, allocations: 31.98 kB / 1.1 GB, free: 9.594 MB / 0.7061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.8131, allocations: 50.58 kB / 1.1 GB, free: 9.535 MB / 0.7061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.8134, allocations: 51.89 kB / 1.1 GB, free: 9.484 MB / 0.7061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8134, allocations: 0 / 1.1 GB, free: 9.484 MB / 0.7061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004994/0.8139, allocations: 122.4 kB / 1.1 GB, free: 9.359 MB / 0.7061 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.814, allocations: 8 kB / 1.1 GB, free: 9.352 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.814, allocations: 0 / 1.1 GB, free: 9.352 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.814, allocations: 0 / 1.1 GB, free: 9.352 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.871e-05/0.8141, allocations: 8 kB / 1.1 GB, free: 9.344 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.8141, allocations: 5.594 kB / 1.1 GB, free: 9.34 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.8144, allocations: 41.03 kB / 1.1 GB, free: 9.301 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.8145, allocations: 7.984 kB / 1.1 GB, free: 9.293 MB / 0.7061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.472e-05/0.8146, allocations: 112.9 kB / 1.101 GB, free: 9.176 MB / 0.7061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.8146, allocations: 0 / 1.101 GB, free: 9.176 MB / 0.7061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.8147, allocations: 11.94 kB / 1.101 GB, free: 9.16 MB / 0.7061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.8147, allocations: 4.703 kB / 1.101 GB, free: 9.156 MB / 0.7061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.8147, allocations: 0 / 1.101 GB, free: 9.156 MB / 0.7061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.8147, allocations: 0 / 1.101 GB, free: 9.156 MB / 0.7061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.8148, allocations: 162.1 kB / 1.101 GB, free: 8.961 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8149, allocations: 4 kB / 1.101 GB, free: 8.957 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.219e-05/0.8149, allocations: 0.75 kB / 1.101 GB, free: 8.957 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.8149, allocations: 0 / 1.101 GB, free: 8.957 MB / 0.7061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.8149, allocations: 0.5625 kB / 1.101 GB, free: 8.957 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.8149, allocations: 4 kB / 1.101 GB, free: 8.953 MB / 0.7061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.8149, allocations: 0 / 1.101 GB, free: 8.953 MB / 0.7061 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001392/0.8151, allocations: 86.72 kB / 1.101 GB, free: 8.852 MB / 0.7061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.8152, allocations: 89 kB / 1.101 GB, free: 8.746 MB / 0.7061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.8152, allocations: 4 kB / 1.101 GB, free: 8.742 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.19e-05/0.8152, allocations: 0.6562 kB / 1.101 GB, free: 8.742 MB / 0.7061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.8153, allocations: 3.906 kB / 1.101 GB, free: 8.738 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.8153, allocations: 5 kB / 1.101 GB, free: 8.734 MB / 0.7061 GB Notification: Performance of sort global known variables: time 0.0001139/0.8154, allocations: 95.27 kB / 1.101 GB, free: 8.641 MB / 0.7061 GB Notification: Performance of remove unused functions: time 0.0002941/0.8157, allocations: 16 kB / 1.101 GB, free: 8.625 MB / 0.7061 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 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001681/0.8159, allocations: 112.7 kB / 1.101 GB, free: 8.508 MB / 0.7061 GB Notification: Performance of simCode: created initialization part: time 0.000253/0.8162, allocations: 89.64 kB / 1.101 GB, free: 8.414 MB / 0.7061 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8162, allocations: 4.844 kB / 1.101 GB, free: 8.41 MB / 0.7061 GB Notification: Performance of simCode: created simulation system equations: time 5.304e-05/0.8162, allocations: 15.98 kB / 1.101 GB, free: 8.395 MB / 0.7061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.8165, allocations: 9.953 kB / 1.101 GB, free: 8.387 MB / 0.7061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002701/0.8168, allocations: 84.62 kB / 1.101 GB, free: 8.277 MB / 0.7061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.8171, allocations: 0.709 MB / 1.102 GB, free: 7.547 MB / 0.7061 GB Notification: Performance of SimCode: time 6.62e-07/0.8171, allocations: 0 / 1.102 GB, free: 7.547 MB / 0.7061 GB Notification: Performance of Templates: time 0.004486/0.8216, allocations: 1.122 MB / 1.103 GB, free: 6.484 MB / 0.7061 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)