Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.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.094/2.094, allocations: 284.9 MB / 292.2 MB, free: 1.094 MB / 226.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001624/0.001623, allocations: 190.7 kB / 360.4 MB, free: 15.51 MB / 290.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.1 MB / 0.6188 GB, free: 6.32 MB / 466.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001233/0.001232, allocations: 82 kB / 0.7318 GB, free: 47.03 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 1.215e-05/1.23e-05, allocations: 4 kB / 0.8503 GB, free: 13.37 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5915/0.5915, allocations: 115.2 MB / 0.9628 GB, free: 86.11 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1978/0.7894, allocations: 137.3 MB / 1.097 GB, free: 12.79 MB / 0.7059 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.7897, allocations: 71.95 kB / 1.097 GB, free: 12.72 MB / 0.7059 GB Notification: Performance of FrontEnd: time 0.03044/0.8202, allocations: 5.878 MB / 1.103 GB, free: 6.922 MB / 0.7059 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.8202, allocations: 0 / 1.103 GB, free: 6.922 MB / 0.7059 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.0007269/0.821, allocations: 0.541 MB / 1.103 GB, free: 6.312 MB / 0.7059 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.821, allocations: 12.77 kB / 1.103 GB, free: 6.301 MB / 0.7059 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.8212, allocations: 31.72 kB / 1.103 GB, free: 6.27 MB / 0.7059 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.8214, allocations: 213.8 kB / 1.103 GB, free: 6.023 MB / 0.7059 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.8215, allocations: 9.531 kB / 1.103 GB, free: 6.016 MB / 0.7059 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.8216, allocations: 23.98 kB / 1.103 GB, free: 5.992 MB / 0.7059 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001692/0.8218, allocations: 44 kB / 1.104 GB, free: 5.949 MB / 0.7059 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.822, allocations: 107.6 kB / 1.104 GB, free: 5.828 MB / 0.7059 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.8221, allocations: 3.938 kB / 1.104 GB, free: 5.824 MB / 0.7059 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.8221, allocations: 4 kB / 1.104 GB, free: 5.82 MB / 0.7059 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.8221, allocations: 0 / 1.104 GB, free: 5.82 MB / 0.7059 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.8236, allocations: 0.8567 MB / 1.104 GB, free: 4.914 MB / 0.7059 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.8238, allocations: 106.4 kB / 1.105 GB, free: 4.773 MB / 0.7059 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.8239, allocations: 47.5 kB / 1.105 GB, free: 4.715 MB / 0.7059 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.824, allocations: 11.92 kB / 1.105 GB, free: 4.703 MB / 0.7059 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002472/0.8242, allocations: 134.7 kB / 1.105 GB, free: 4.547 MB / 0.7059 GB Notification: Performance of pre-optimization done (n=16): time 2.155e-06/0.8243, allocations: 0 / 1.105 GB, free: 4.547 MB / 0.7059 GB Notification: Performance of matching and sorting (n=16): time 0.0004906/0.8248, allocations: 145.3 kB / 1.105 GB, free: 4.398 MB / 0.7059 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.039e-05/0.8249, allocations: 144.5 kB / 1.105 GB, free: 4.227 MB / 0.7059 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.8252, allocations: 203.8 kB / 1.105 GB, free: 4.023 MB / 0.7059 GB Notification: Performance of collectPreVariables (initialization): time 8.197e-05/0.8253, allocations: 29.7 kB / 1.105 GB, free: 3.988 MB / 0.7059 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.8254, allocations: 112.5 kB / 1.105 GB, free: 3.871 MB / 0.7059 GB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.8255, allocations: 35.61 kB / 1.105 GB, free: 3.836 MB / 0.7059 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.8256, allocations: 5.688 kB / 1.105 GB, free: 3.832 MB / 0.7059 GB Notification: Performance of setup shared object (initialization): time 0.0002043/0.8258, allocations: 334.8 kB / 1.106 GB, free: 3.496 MB / 0.7059 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004855/0.8263, allocations: 124.2 kB / 1.106 GB, free: 3.371 MB / 0.7059 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005553/0.8268, allocations: 214.5 kB / 1.106 GB, free: 3.129 MB / 0.7059 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.8279, allocations: 169.7 kB / 1.106 GB, free: 2.965 MB / 0.7059 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.8279, allocations: 0 / 1.106 GB, free: 2.965 MB / 0.7059 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001905/0.8299, allocations: 439.4 kB / 1.107 GB, free: 2.531 MB / 0.7059 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.8299, allocations: 7.938 kB / 1.107 GB, free: 2.523 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.8299, allocations: 4.25 kB / 1.107 GB, free: 2.52 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.8299, allocations: 8 kB / 1.107 GB, free: 2.512 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.8301, allocations: 12 kB / 1.107 GB, free: 2.5 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.8301, allocations: 7.938 kB / 1.107 GB, free: 2.492 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.8314, allocations: 163.7 kB / 1.107 GB, free: 2.332 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.631e-05/0.8315, allocations: 27.97 kB / 1.107 GB, free: 2.305 MB / 0.7059 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.y,$PRE.pul3.booPul.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,$PRE.pul2.booPul.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,$PRE.pul.booPul.y,pul.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001828/0.8317, allocations: 124.6 kB / 1.107 GB, free: 2.176 MB / 0.7059 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.8318, allocations: 15.81 kB / 1.107 GB, free: 2.16 MB / 0.7059 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.106e-05/0.8319, allocations: 25.33 kB / 1.107 GB, free: 2.129 MB / 0.7059 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.8319, allocations: 4.375 kB / 1.107 GB, free: 2.125 MB / 0.7059 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.8319, allocations: 10.81 kB / 1.107 GB, free: 2.117 MB / 0.7059 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.832, allocations: 3.938 kB / 1.107 GB, free: 2.113 MB / 0.7059 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003169/0.8323, allocations: 226.1 kB / 1.107 GB, free: 1.855 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.8323, allocations: 8.797 kB / 1.107 GB, free: 1.848 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.232e-05/0.8324, allocations: 8 kB / 1.107 GB, free: 1.84 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.8324, allocations: 3.984 kB / 1.107 GB, free: 1.836 MB / 0.7059 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.8324, allocations: 4 kB / 1.107 GB, free: 1.832 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.8324, allocations: 0 / 1.107 GB, free: 1.832 MB / 0.7059 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.8325, allocations: 4 kB / 1.107 GB, free: 1.828 MB / 0.7059 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004067/0.8329, allocations: 225.7 kB / 1.107 GB, free: 1.562 MB / 0.7059 GB Notification: Performance of postOpt removeConstants (simulation): time 9.69e-05/0.833, allocations: 100.8 kB / 1.108 GB, free: 1.445 MB / 0.7059 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.833, allocations: 3.938 kB / 1.108 GB, free: 1.441 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.727e-05/0.8331, allocations: 8 kB / 1.108 GB, free: 1.434 MB / 0.7059 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.8332, allocations: 11.98 kB / 1.108 GB, free: 1.422 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.8332, allocations: 11.98 kB / 1.108 GB, free: 1.41 MB / 0.7059 GB Notification: Performance of sort global known variables: time 0.0002083/0.8335, allocations: 152.5 kB / 1.108 GB, free: 1.262 MB / 0.7059 GB Notification: Performance of remove unused functions: time 0.0005208/0.834, allocations: 63.98 kB / 1.108 GB, free: 1.199 MB / 0.7059 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002043/0.8342, allocations: 121.2 kB / 1.108 GB, free: 1.074 MB / 0.7059 GB Notification: Performance of simCode: created initialization part: time 0.0009225/0.8351, allocations: 357.7 kB / 1.108 GB, free: 0.7031 MB / 0.7059 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8352, allocations: 0 / 1.108 GB, free: 0.7031 MB / 0.7059 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.8353, allocations: 55.94 kB / 1.108 GB, free: 0.6484 MB / 0.7059 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006227/0.836, allocations: 57.45 kB / 1.108 GB, free: 0.5938 MB / 0.7059 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007142/0.8367, allocations: 236 kB / 1.109 GB, free: 340 kB / 0.7059 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005023/0.8372, allocations: 0.7623 MB / 1.109 GB, free: 15.55 MB / 0.7215 GB Notification: Performance of SimCode: time 7.62e-07/0.8372, allocations: 2.062 kB / 1.109 GB, free: 15.55 MB / 0.7215 GB Notification: Performance of Templates: time 0.01137/0.8486, allocations: 3.754 MB / 1.113 GB, free: 11.91 MB / 0.7215 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)