Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.323/1.323, allocations: 289.8 MB / 297 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000954/0.000954, allocations: 181.3 kB / 366.3 MB, free: 1.969 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.044/1.044, allocations: 205.1 MB / 0.6256 GB, free: 5.82 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008198/0.0008202, allocations: 91.75 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.668e-06/9.678e-06, allocations: 8 kB / 0.859 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4697/0.4697, allocations: 116.3 MB / 0.9726 GB, free: 68.33 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/0.6174, allocations: 138.3 MB / 1.108 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001892/0.6176, allocations: 75.89 kB / 1.108 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.005213/0.6228, allocations: 1.686 MB / 1.109 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.6229, allocations: 0 / 1.109 GB, free: 8.391 MB / 0.7136 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.000389/0.6233, allocations: 380 kB / 1.11 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.6233, allocations: 8.031 kB / 1.11 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.6234, allocations: 4 kB / 1.11 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.6236, allocations: 178.8 kB / 1.11 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.6236, allocations: 4 kB / 1.11 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.6236, allocations: 4 kB / 1.11 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.603e-05/0.6237, allocations: 8 kB / 1.11 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.808e-05/0.6238, allocations: 42.44 kB / 1.11 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.6238, allocations: 3.906 kB / 1.11 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.6238, allocations: 4 kB / 1.11 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.6238, allocations: 4 kB / 1.11 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.6243, allocations: 305.3 kB / 1.11 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.436e-05/0.6244, allocations: 30.52 kB / 1.11 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.741e-05/0.6244, allocations: 15.39 kB / 1.11 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.6244, allocations: 4 kB / 1.11 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.066e-05/0.6245, allocations: 56 kB / 1.11 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.6245, allocations: 0 / 1.11 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001839/0.6247, allocations: 61.59 kB / 1.11 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.6248, allocations: 55.34 kB / 1.111 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.6249, allocations: 113 kB / 1.111 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.6249, allocations: 25.7 kB / 1.111 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.577e-05/0.625, allocations: 88.14 kB / 1.111 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.339e-05/0.625, allocations: 8.562 kB / 1.111 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/0.6251, allocations: 4 kB / 1.111 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.6252, allocations: 322.7 kB / 1.111 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.853e-05/0.6253, allocations: 35.98 kB / 1.111 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-05/0.6254, allocations: 50.56 kB / 1.111 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.6256, allocations: 43.97 kB / 1.111 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6256, allocations: 0 / 1.111 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003044/0.6259, allocations: 131.2 kB / 1.111 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.6259, allocations: 4 kB / 1.111 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.6259, allocations: 3.984 kB / 1.111 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.626, allocations: 4 kB / 1.111 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.72e-05/0.626, allocations: 64 / 1.111 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.626, allocations: 10.19 kB / 1.111 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.6262, allocations: 44.03 kB / 1.111 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.6263, allocations: 8 kB / 1.111 GB, free: 6.16 MB / 0.7136 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 7.16e-05/0.6263, allocations: 108.8 kB / 1.111 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-06/0.6264, allocations: 4.094 kB / 1.111 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.6264, allocations: 15.97 kB / 1.111 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.6264, allocations: 3.906 kB / 1.111 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.6264, allocations: 0 / 1.111 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.6264, allocations: 0 / 1.111 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.474e-05/0.6265, allocations: 150.8 kB / 1.112 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.6265, allocations: 0 / 1.112 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.594e-05/0.6266, allocations: 8 kB / 1.112 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6266, allocations: 3.984 kB / 1.112 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.6266, allocations: 4 kB / 1.112 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.6266, allocations: 3.938 kB / 1.112 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6266, allocations: 0 / 1.112 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.17e-05/0.6267, allocations: 81.59 kB / 1.112 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.6267, allocations: 81.02 kB / 1.112 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.6267, allocations: 0 / 1.112 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.007e-05/0.6268, allocations: 4 kB / 1.112 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.6268, allocations: 11.89 kB / 1.112 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.6268, allocations: 0 / 1.112 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.139e-05/0.6269, allocations: 97.77 kB / 1.112 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001996/0.6271, allocations: 27.92 kB / 1.112 GB, free: 5.477 MB / 0.7136 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.0001397/0.6272, allocations: 103.2 kB / 1.112 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001712/0.6274, allocations: 85.69 kB / 1.112 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6274, allocations: 4.125 kB / 1.112 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.942e-05/0.6274, allocations: 19.94 kB / 1.112 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.6276, allocations: 19.22 kB / 1.112 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002143/0.6279, allocations: 75.83 kB / 1.112 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.6281, allocations: 0.6954 MB / 1.113 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.6281, allocations: 0 / 1.113 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of Templates: time 0.002963/0.6311, allocations: 1.129 MB / 1.114 GB, free: 3.336 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)