Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.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.PulseNegativeStartTime,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.357/1.357, allocations: 289.8 MB / 297.1 MB, free: 6.633 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.00106/0.00106, allocations: 177.3 kB / 366.3 MB, free: 1.945 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.048/1.048, allocations: 205.1 MB / 0.6256 GB, free: 5.812 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.0008173/0.0008173, allocations: 98.62 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1889/0.1898, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.5953, allocations: 116.3 MB / 0.9727 GB, free: 68.45 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1354/0.7307, allocations: 138.5 MB / 1.108 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001881/0.7309, allocations: 67.95 kB / 1.108 GB, free: 9.863 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.04995/0.7809, allocations: 18.05 MB / 1.126 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.7809, allocations: 8 kB / 1.126 GB, free: 7.664 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.7811, allocations: 68.41 kB / 1.126 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.7813, allocations: 215.2 kB / 1.126 GB, free: 7.348 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.7813, allocations: 0 / 1.126 GB, free: 7.348 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.7815, allocations: 67.98 kB / 1.126 GB, free: 7.281 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001006/0.7816, allocations: 39.98 kB / 1.126 GB, free: 7.242 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.7818, allocations: 210.3 kB / 1.126 GB, free: 6.984 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.7818, allocations: 0 / 1.126 GB, free: 6.984 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.7818, allocations: 4 kB / 1.126 GB, free: 6.98 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.7818, allocations: 4 kB / 1.126 GB, free: 6.977 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008427/0.7827, allocations: 0.811 MB / 1.127 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.7829, allocations: 311.3 kB / 1.127 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.7831, allocations: 124.9 kB / 1.127 GB, free: 5.477 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.7831, allocations: 8 kB / 1.127 GB, free: 5.469 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003704/0.7835, allocations: 346.8 kB / 1.128 GB, free: 5.055 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 1.854e-06/0.7835, allocations: 8 kB / 1.128 GB, free: 5.047 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.0006626/0.7842, allocations: 353.5 kB / 1.128 GB, free: 4.695 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000186/0.7844, allocations: 439.2 kB / 1.129 GB, free: 4.168 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.7846, allocations: 247.3 kB / 1.129 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/0.7847, allocations: 53.7 kB / 1.129 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.7849, allocations: 137.3 kB / 1.129 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.143e-05/0.785, allocations: 90.92 kB / 1.129 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.7851, allocations: 28.75 kB / 1.129 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.7852, allocations: 346.8 kB / 1.129 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006992/0.7859, allocations: 365.2 kB / 1.13 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008648/0.7868, allocations: 0.638 MB / 1.13 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/0.7886, allocations: 0.5267 MB / 1.131 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.7886, allocations: 7.906 kB / 1.131 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003315/0.792, allocations: 1.251 MB / 1.132 GB, free: 344 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.792, allocations: 8 kB / 1.132 GB, free: 336 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.792, allocations: 8.562 kB / 1.132 GB, free: 328 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.792, allocations: 19.98 kB / 1.132 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.368e-05/0.7921, allocations: 31.86 kB / 1.132 GB, free: 276 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.7921, allocations: 15.94 kB / 1.132 GB, free: 260 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/0.7944, allocations: 0.597 MB / 1.133 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/0.7946, allocations: 87.92 kB / 1.133 GB, free: 15.57 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.0002351/0.7948, allocations: 185.2 kB / 1.133 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.193e-05/0.7949, allocations: 39.53 kB / 1.133 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.733e-05/0.795, allocations: 38.23 kB / 1.133 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.795, allocations: 8 kB / 1.133 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.795, allocations: 4 kB / 1.133 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.795, allocations: 7.984 kB / 1.133 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.7953, allocations: 290.8 kB / 1.133 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.7953, allocations: 0 / 1.133 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.337e-05/0.7953, allocations: 23.92 kB / 1.133 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.331e-06/0.7954, allocations: 8 kB / 1.133 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.7954, allocations: 15.98 kB / 1.133 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.7954, allocations: 12 kB / 1.133 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.7954, allocations: 7.938 kB / 1.133 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005401/0.796, allocations: 0.575 MB / 1.134 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006369/0.7966, allocations: 0.9636 MB / 1.135 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-05/0.7967, allocations: 109.5 kB / 1.135 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/0.7967, allocations: 7.984 kB / 1.135 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.7969, allocations: 11.98 kB / 1.135 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/0.7969, allocations: 51.84 kB / 1.135 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.797, allocations: 27.98 kB / 1.135 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0001257/0.7971, allocations: 179.1 kB / 1.135 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001121/0.7982, allocations: 176 kB / 1.136 GB, free: 12.49 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.0001695/0.7984, allocations: 138.2 kB / 1.136 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001351/0.7998, allocations: 1.097 MB / 1.137 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7998, allocations: 2.156 kB / 1.137 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.8, allocations: 163.8 kB / 1.137 GB, free: 11 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005377/0.8005, allocations: 103.1 kB / 1.137 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007328/0.8013, allocations: 478.8 kB / 1.137 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003663/0.8016, allocations: 0.8264 MB / 1.138 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.8017, allocations: 2.25 kB / 1.138 GB, free: 9.516 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime_fmu --startTime=-10 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1)