Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [: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.413/1.413, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.001025/0.001025, allocations: 185.3 kB / 366.3 MB, free: 1.992 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.066/1.066, allocations: 205.1 MB / 0.6256 GB, free: 5.84 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.0008141/0.0008141, allocations: 79.67 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1994/0.2002, allocations: 122.5 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4475/0.6478, allocations: 116.3 MB / 0.9727 GB, free: 68.4 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.14/0.7878, allocations: 138.4 MB / 1.108 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.7881, allocations: 71.95 kB / 1.108 GB, free: 10.01 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.01698/0.8051, allocations: 6.421 MB / 1.114 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.8051, allocations: 12 kB / 1.114 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.484e-05/0.8052, allocations: 27.72 kB / 1.114 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.8055, allocations: 213.9 kB / 1.114 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.8055, allocations: 7.906 kB / 1.114 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.69e-05/0.8056, allocations: 16 kB / 1.114 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001064/0.8057, allocations: 47.94 kB / 1.114 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.8058, allocations: 109.8 kB / 1.115 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.8059, allocations: 4 kB / 1.115 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.8059, allocations: 8 kB / 1.115 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.8059, allocations: 0 / 1.115 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008947/0.8068, allocations: 0.845 MB / 1.115 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.8069, allocations: 118.4 kB / 1.116 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.413e-05/0.807, allocations: 51.44 kB / 1.116 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.807, allocations: 0 / 1.116 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.8072, allocations: 135.6 kB / 1.116 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.415e-06/0.8072, allocations: 0 / 1.116 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0002958/0.8075, allocations: 161.2 kB / 1.116 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.8075, allocations: 136.5 kB / 1.116 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.8077, allocations: 203.8 kB / 1.116 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.8078, allocations: 37.7 kB / 1.116 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.8079, allocations: 112.5 kB / 1.116 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.8079, allocations: 23.62 kB / 1.116 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.8079, allocations: 12 kB / 1.116 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.957e-05/0.808, allocations: 334.8 kB / 1.117 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.8083, allocations: 125 kB / 1.117 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.8086, allocations: 206.7 kB / 1.117 GB, free: 368 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006073/0.8092, allocations: 172.4 kB / 1.117 GB, free: 196 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.8092, allocations: 0 / 1.117 GB, free: 196 kB / 0.7136 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001029/0.8102, allocations: 437 kB / 1.118 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.8102, allocations: 4 kB / 1.118 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.8103, allocations: 4 kB / 1.118 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.8103, allocations: 4 kB / 1.118 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.522e-05/0.8103, allocations: 20.67 kB / 1.118 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.8104, allocations: 3.938 kB / 1.118 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006457/0.811, allocations: 164 kB / 1.118 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.363e-05/0.8111, allocations: 27.98 kB / 1.118 GB, free: 15.54 MB / 0.7292 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.0001013/0.8112, allocations: 133.5 kB / 1.118 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.8112, allocations: 15.81 kB / 1.118 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/0.8113, allocations: 17.34 kB / 1.118 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.8113, allocations: 3.984 kB / 1.118 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.8113, allocations: 8.562 kB / 1.118 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.8113, allocations: 0 / 1.118 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.8115, allocations: 226.1 kB / 1.118 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8115, allocations: 0 / 1.118 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-05/0.8115, allocations: 15.92 kB / 1.118 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.8115, allocations: 0 / 1.118 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.8116, allocations: 8 kB / 1.118 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.8116, allocations: 5.219 kB / 1.118 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.8116, allocations: 4 kB / 1.118 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002262/0.8118, allocations: 224.4 kB / 1.118 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002963/0.8121, allocations: 0.5945 MB / 1.119 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-05/0.8122, allocations: 100.8 kB / 1.119 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.8122, allocations: 3.984 kB / 1.119 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.283e-05/0.8123, allocations: 4 kB / 1.119 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.8123, allocations: 11.89 kB / 1.119 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.8123, allocations: 15.94 kB / 1.119 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001141/0.8125, allocations: 152.5 kB / 1.119 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008931/0.8134, allocations: 67.98 kB / 1.119 GB, free: 13.77 MB / 0.7292 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.0001431/0.8135, allocations: 113.3 kB / 1.119 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004801/0.814, allocations: 355.5 kB / 1.12 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.814, allocations: 1.969 kB / 1.12 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.946e-05/0.8141, allocations: 68.7 kB / 1.12 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.8145, allocations: 52.89 kB / 1.12 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004388/0.8149, allocations: 227.1 kB / 1.12 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002757/0.8152, allocations: 0.7547 MB / 1.121 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of SimCode: time 1.453e-06/0.8152, allocations: 0 / 1.121 GB, free: 12.14 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)