Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime",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.0.1-maint.8.0.x/package.mo): time 1.323/1.323, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009516/0.0009516, allocations: 189.2 kB / 361.1 MB, free: 7.082 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.007/1.007, allocations: 205.1 MB / 0.6195 GB, free: 10.37 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.0007723/0.0007723, allocations: 99.67 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1774/0.1782, allocations: 121.5 MB / 0.8512 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.588, allocations: 115.3 MB / 0.9638 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/0.7203, allocations: 137.5 MB / 1.098 GB, free: 2.445 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000189/0.7205, allocations: 72.66 kB / 1.098 GB, free: 2.375 MB / 0.698 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.04959/0.7701, allocations: 18.06 MB / 1.116 GB, free: 288 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.7702, allocations: 8.5 kB / 1.116 GB, free: 280 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002381/0.7704, allocations: 67.61 kB / 1.116 GB, free: 212 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.7706, allocations: 211.3 kB / 1.116 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.7707, allocations: 11.94 kB / 1.116 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.7708, allocations: 63.98 kB / 1.116 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001043/0.771, allocations: 36 kB / 1.116 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.7712, allocations: 206.3 kB / 1.116 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.7712, allocations: 0 / 1.116 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.7712, allocations: 11.98 kB / 1.116 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.7712, allocations: 6.344 kB / 1.116 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008942/0.7721, allocations: 0.806 MB / 1.117 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.7724, allocations: 311.3 kB / 1.117 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.7725, allocations: 124.9 kB / 1.118 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.7725, allocations: 4 kB / 1.118 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003635/0.7729, allocations: 354.8 kB / 1.118 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 2.224e-06/0.7729, allocations: 0 / 1.118 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.0006273/0.7736, allocations: 361.5 kB / 1.118 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.7737, allocations: 431.2 kB / 1.119 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.7739, allocations: 247.3 kB / 1.119 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.7741, allocations: 53.7 kB / 1.119 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.7742, allocations: 141.3 kB / 1.119 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.716e-05/0.7743, allocations: 86.91 kB / 1.119 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.7744, allocations: 32 kB / 1.119 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.7746, allocations: 358.8 kB / 1.12 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006807/0.7753, allocations: 357.2 kB / 1.12 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008327/0.7761, allocations: 0.6341 MB / 1.121 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/0.7779, allocations: 0.5266 MB / 1.121 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.778, allocations: 3.906 kB / 1.121 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00322/0.7812, allocations: 1.259 MB / 1.122 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.7812, allocations: 8.031 kB / 1.122 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.7812, allocations: 8 kB / 1.122 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.7813, allocations: 16 kB / 1.122 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.263e-05/0.7813, allocations: 31.84 kB / 1.122 GB, free: 8.879 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.7813, allocations: 19.92 kB / 1.122 GB, free: 8.859 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/0.7836, allocations: 0.5896 MB / 1.123 GB, free: 8.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001845/0.7838, allocations: 95.92 kB / 1.123 GB, free: 8.176 MB / 0.7292 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.0003127/0.7841, allocations: 176.7 kB / 1.123 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.974e-05/0.7842, allocations: 47.45 kB / 1.123 GB, free: 7.949 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.005e-05/0.7843, allocations: 42.23 kB / 1.123 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.7843, allocations: 8 kB / 1.123 GB, free: 7.898 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.7843, allocations: 4 kB / 1.123 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.7843, allocations: 5.312 kB / 1.123 GB, free: 7.891 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.7847, allocations: 289.9 kB / 1.124 GB, free: 7.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.7847, allocations: 4 kB / 1.124 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.119e-05/0.7847, allocations: 15.92 kB / 1.124 GB, free: 7.551 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.7847, allocations: 8 kB / 1.124 GB, free: 7.543 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.7847, allocations: 17.23 kB / 1.124 GB, free: 7.527 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-06/0.7848, allocations: 15.92 kB / 1.124 GB, free: 7.512 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.7848, allocations: 8 kB / 1.124 GB, free: 7.504 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005391/0.7853, allocations: 0.5709 MB / 1.124 GB, free: 6.785 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006359/0.786, allocations: 0.9636 MB / 1.125 GB, free: 5.672 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.676e-05/0.786, allocations: 108.6 kB / 1.125 GB, free: 5.547 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.406e-05/0.7861, allocations: 11.98 kB / 1.125 GB, free: 5.535 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.7862, allocations: 11.98 kB / 1.125 GB, free: 5.523 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.835e-05/0.7863, allocations: 55.78 kB / 1.125 GB, free: 5.469 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.7863, allocations: 32.05 kB / 1.125 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001335/0.7865, allocations: 179.1 kB / 1.126 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001238/0.7877, allocations: 172 kB / 1.126 GB, free: 5.098 MB / 0.7292 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.0001677/0.7879, allocations: 134 kB / 1.126 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001378/0.7893, allocations: 1.093 MB / 1.127 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7893, allocations: 0 / 1.127 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.7895, allocations: 167.8 kB / 1.127 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/0.7901, allocations: 100.9 kB / 1.127 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007258/0.7908, allocations: 478.8 kB / 1.128 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003186/0.7911, allocations: 0.8245 MB / 1.128 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of SimCode: time 3e-07/0.7911, allocations: 8 kB / 1.128 GB, free: 2.129 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime_fmu --startTime=-10 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1)