Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.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.Logical.Sources.Validation.PulsePositiveStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime",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.374/1.374, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.0009436/0.0009436, allocations: 177.3 kB / 366.3 MB, free: 2.004 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.047/1.047, allocations: 205.1 MB / 0.6256 GB, free: 5.902 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.0007727/0.0007727, allocations: 84.81 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1856/0.1864, allocations: 122.5 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.6026, allocations: 116.3 MB / 0.9727 GB, free: 68.41 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.7378, allocations: 138.5 MB / 1.108 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001954/0.7381, allocations: 73.3 kB / 1.108 GB, free: 9.895 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.04983/0.7879, allocations: 18.05 MB / 1.126 GB, free: 7.711 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.788, allocations: 12 kB / 1.126 GB, free: 7.699 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.7881, allocations: 67.62 kB / 1.126 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.7883, allocations: 211.2 kB / 1.126 GB, free: 7.387 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.7883, allocations: 4 kB / 1.126 GB, free: 7.383 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.7885, allocations: 67.98 kB / 1.126 GB, free: 7.316 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.372e-05/0.7886, allocations: 39.98 kB / 1.126 GB, free: 7.277 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.7888, allocations: 205.9 kB / 1.126 GB, free: 7.027 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.7888, allocations: 3.938 kB / 1.126 GB, free: 7.023 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.7888, allocations: 4 kB / 1.126 GB, free: 7.02 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.7888, allocations: 0 / 1.126 GB, free: 7.02 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008539/0.7897, allocations: 0.8236 MB / 1.127 GB, free: 6.117 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.7899, allocations: 307.3 kB / 1.127 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.7901, allocations: 128.9 kB / 1.127 GB, free: 5.508 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.7901, allocations: 4 kB / 1.127 GB, free: 5.504 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003533/0.7904, allocations: 354.8 kB / 1.128 GB, free: 5.082 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 1.603e-06/0.7904, allocations: 0 / 1.128 GB, free: 5.082 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.0006233/0.7911, allocations: 357.4 kB / 1.128 GB, free: 4.727 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.7912, allocations: 435.2 kB / 1.129 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.7914, allocations: 243.3 kB / 1.129 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.7915, allocations: 57.7 kB / 1.129 GB, free: 3.895 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.7917, allocations: 137.3 kB / 1.129 GB, free: 3.758 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.679e-05/0.7918, allocations: 90.91 kB / 1.129 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.7919, allocations: 31.94 kB / 1.129 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.792, allocations: 346.8 kB / 1.129 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006764/0.7927, allocations: 365.2 kB / 1.13 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008444/0.7935, allocations: 0.6419 MB / 1.13 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/0.7954, allocations: 0.5228 MB / 1.131 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.7954, allocations: 7.906 kB / 1.131 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003245/0.7987, allocations: 1.25 MB / 1.132 GB, free: 376 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.7987, allocations: 7.984 kB / 1.132 GB, free: 368 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.7987, allocations: 13.16 kB / 1.132 GB, free: 356 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.7987, allocations: 16 kB / 1.132 GB, free: 340 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.672e-05/0.7988, allocations: 32.42 kB / 1.132 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.7988, allocations: 19.94 kB / 1.132 GB, free: 288 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/0.8011, allocations: 0.589 MB / 1.133 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/0.8013, allocations: 91.92 kB / 1.133 GB, free: 15.6 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0002332/0.8016, allocations: 183.4 kB / 1.133 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.67e-05/0.8016, allocations: 47.47 kB / 1.133 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.899e-05/0.8017, allocations: 35.08 kB / 1.133 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.8017, allocations: 8 kB / 1.133 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.8018, allocations: 4 kB / 1.133 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.8018, allocations: 7.984 kB / 1.133 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.8021, allocations: 293.9 kB / 1.133 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.8021, allocations: 4 kB / 1.133 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.8021, allocations: 19.92 kB / 1.133 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.8021, allocations: 4 kB / 1.133 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.8022, allocations: 19.98 kB / 1.133 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.8022, allocations: 4.75 kB / 1.133 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.8022, allocations: 7.938 kB / 1.133 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005183/0.8027, allocations: 0.5777 MB / 1.134 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005645/0.8033, allocations: 0.9597 MB / 1.135 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.8034, allocations: 112.6 kB / 1.135 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.116e-05/0.8034, allocations: 7.984 kB / 1.135 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.8035, allocations: 11.98 kB / 1.135 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.609e-05/0.8036, allocations: 55.84 kB / 1.135 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.8036, allocations: 32.92 kB / 1.135 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0001172/0.8038, allocations: 167.1 kB / 1.135 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001116/0.8049, allocations: 176 kB / 1.136 GB, free: 12.53 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0001713/0.8051, allocations: 142.2 kB / 1.136 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001284/0.8064, allocations: 1.089 MB / 1.137 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8064, allocations: 0 / 1.137 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.8066, allocations: 168.5 kB / 1.137 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005472/0.8071, allocations: 103.1 kB / 1.137 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006922/0.8078, allocations: 474.9 kB / 1.137 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003027/0.8081, allocations: 0.8225 MB / 1.138 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of SimCode: time 2.51e-07/0.8081, allocations: 0 / 1.138 GB, free: 9.559 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime_fmu --startTime=9 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1)