Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.832/1.832, allocations: 387.2 MB / 394.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009673/0.0009673, allocations: 184 kB / 487 MB, free: 5.375 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.206/1.206, allocations: 221.3 MB / 0.7819 GB, free: 1.344 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008374/0.0008374, allocations: 94 kB / 0.9213 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4132/0.414, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.6079, allocations: 142.3 MB / 1.205 GB, free: 26.09 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5047/1.113, allocations: 148.7 MB / 1.351 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000168/1.113, allocations: 68.06 kB / 1.351 GB, free: 15.86 MB / 0.8073 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.01713/1.13, allocations: 6.435 MB / 1.357 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/1.13, allocations: 13.78 kB / 1.357 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.549e-05/1.13, allocations: 29.81 kB / 1.357 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/1.13, allocations: 214.3 kB / 1.357 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/1.13, allocations: 11.22 kB / 1.357 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.103e-05/1.13, allocations: 23.52 kB / 1.357 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001026/1.13, allocations: 44.41 kB / 1.357 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/1.131, allocations: 111.1 kB / 1.357 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/1.131, allocations: 1.922 kB / 1.357 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/1.131, allocations: 0.8438 kB / 1.357 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/1.131, allocations: 2.375 kB / 1.357 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007994/1.131, allocations: 0.862 MB / 1.358 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/1.132, allocations: 106.4 kB / 1.358 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.837e-05/1.132, allocations: 49.69 kB / 1.358 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/1.132, allocations: 6.047 kB / 1.358 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/1.132, allocations: 140.7 kB / 1.358 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/1.132, allocations: 0 / 1.358 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0003009/1.132, allocations: 155 kB / 1.359 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/1.132, allocations: 133.2 kB / 1.359 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/1.132, allocations: 202.3 kB / 1.359 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.62e-05/1.132, allocations: 37.7 kB / 1.359 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.476e-05/1.132, allocations: 109.7 kB / 1.359 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/1.133, allocations: 26.03 kB / 1.359 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/1.133, allocations: 18.31 kB / 1.359 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.414e-05/1.133, allocations: 330.7 kB / 1.359 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/1.133, allocations: 133.2 kB / 1.36 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/1.133, allocations: 199.2 kB / 1.36 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006119/1.134, allocations: 173.2 kB / 1.36 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.134, allocations: 4.844 kB / 1.36 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001059/1.135, allocations: 426.6 kB / 1.36 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/1.135, allocations: 9.438 kB / 1.36 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.135, allocations: 3.391 kB / 1.36 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/1.135, allocations: 8 kB / 1.36 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.818e-05/1.135, allocations: 17.86 kB / 1.36 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/1.135, allocations: 4.984 kB / 1.36 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006981/1.136, allocations: 163.8 kB / 1.361 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.966e-05/1.136, allocations: 26.66 kB / 1.361 GB, free: 13 MB / 0.8073 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 9.036e-05/1.136, allocations: 125.1 kB / 1.361 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/1.136, allocations: 22.83 kB / 1.361 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.857e-05/1.136, allocations: 24.55 kB / 1.361 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/1.136, allocations: 3.625 kB / 1.361 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.136, allocations: 1.188 kB / 1.361 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/1.136, allocations: 10.89 kB / 1.361 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/1.136, allocations: 222 kB / 1.361 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.136, allocations: 2.047 kB / 1.361 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/1.136, allocations: 12.59 kB / 1.361 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.136, allocations: 1.594 kB / 1.361 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/1.136, allocations: 5.078 kB / 1.361 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.136, allocations: 4.938 kB / 1.361 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.136, allocations: 9.578 kB / 1.361 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000216/1.136, allocations: 222.9 kB / 1.361 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002371/1.137, allocations: 0.5931 MB / 1.362 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/1.137, allocations: 96.44 kB / 1.362 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/1.137, allocations: 7.844 kB / 1.362 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.535e-05/1.137, allocations: 3.047 kB / 1.362 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/1.137, allocations: 17.45 kB / 1.362 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/1.137, allocations: 7.234 kB / 1.362 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001134/1.137, allocations: 158.4 kB / 1.362 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009007/1.138, allocations: 61.16 kB / 1.362 GB, free: 11.8 MB / 0.8073 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.0001469/1.138, allocations: 125.8 kB / 1.362 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005327/1.139, allocations: 351.1 kB / 1.363 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.139, allocations: 0 / 1.363 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.626e-05/1.139, allocations: 62.88 kB / 1.363 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/1.139, allocations: 55.61 kB / 1.363 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/1.14, allocations: 232.4 kB / 1.363 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/1.14, allocations: 0.7529 MB / 1.364 GB, free: 26.56 MB / 0.823 GB Notification: Performance of SimCode: time 2.51e-07/1.14, allocations: 3.938 kB / 1.364 GB, free: 26.55 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat does not exist to compare? outputFormat=mat