Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.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.Validation.TimerAccumulatingNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime",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.383/1.383, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.001036/0.001036, allocations: 177.2 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.053/1.053, allocations: 205.1 MB / 0.6256 GB, free: 7.473 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.0008193/0.0008193, allocations: 96.41 kB / 0.7395 GB, free: 39.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2002/0.201, allocations: 122.4 MB / 0.8591 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4686/0.6696, allocations: 116.3 MB / 0.9727 GB, free: 76.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1464/0.816, allocations: 138.8 MB / 1.108 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.8163, allocations: 71.95 kB / 1.108 GB, free: 11.59 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.01198/0.8283, allocations: 4.251 MB / 1.112 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.8284, allocations: 12 kB / 1.112 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.8285, allocations: 33.73 kB / 1.112 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.8286, allocations: 174.9 kB / 1.113 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.8287, allocations: 11.98 kB / 1.113 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-05/0.8288, allocations: 39.97 kB / 1.113 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000218/0.829, allocations: 104.5 kB / 1.113 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/0.8293, allocations: 235.1 kB / 1.113 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.8294, allocations: 0 / 1.113 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.8294, allocations: 7.984 kB / 1.113 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.8294, allocations: 4 kB / 1.113 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007242/0.8301, allocations: 0.5373 MB / 1.114 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004357/0.8306, allocations: 383.7 kB / 1.114 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.8308, allocations: 188.9 kB / 1.114 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.8309, allocations: 4 kB / 1.114 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003832/0.8312, allocations: 269.8 kB / 1.114 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=46): time 1.964e-06/0.8313, allocations: 1.125 kB / 1.114 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of matching and sorting (n=46): time 0.0005935/0.8319, allocations: 373.6 kB / 1.115 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.8319, allocations: 67.39 kB / 1.115 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.949e-05/0.832, allocations: 124.9 kB / 1.115 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.995e-05/0.8321, allocations: 45.64 kB / 1.115 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.8321, allocations: 105 kB / 1.115 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.318e-05/0.8322, allocations: 90.86 kB / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.8323, allocations: 4 kB / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.8324, allocations: 346.7 kB / 1.115 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.8326, allocations: 125.3 kB / 1.116 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/0.833, allocations: 267.7 kB / 1.116 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004766/0.8335, allocations: 165.1 kB / 1.116 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.8335, allocations: 7.094 kB / 1.116 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009216/0.8344, allocations: 471.6 kB / 1.116 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.8344, allocations: 4 kB / 1.116 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.8344, allocations: 7.938 kB / 1.116 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.8345, allocations: 8 kB / 1.116 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.8346, allocations: 43.86 kB / 1.116 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.8346, allocations: 5.875 kB / 1.116 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004903/0.8351, allocations: 115.8 kB / 1.117 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.033e-05/0.8352, allocations: 31.98 kB / 1.117 GB, free: 2.773 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.noThr.passed,noThr.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition20,noThr.reset,$whenCondition16,thrTim.reset,$whenCondition12,$whenCondition8,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * 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.0001367/0.8353, allocations: 150 kB / 1.117 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/0.8354, allocations: 31.7 kB / 1.117 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.233e-05/0.8354, allocations: 21.75 kB / 1.117 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.8355, allocations: 4 kB / 1.117 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.8355, allocations: 7.984 kB / 1.117 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.8355, allocations: 0 / 1.117 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.8367, allocations: 0.8475 MB / 1.118 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.8368, allocations: 7.906 kB / 1.118 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.926e-05/0.8368, allocations: 15.92 kB / 1.118 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/0.8368, allocations: 4 kB / 1.118 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.8369, allocations: 11.98 kB / 1.118 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.8369, allocations: 7.984 kB / 1.118 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.8369, allocations: 1 kB / 1.118 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005568/0.8375, allocations: 0.5077 MB / 1.118 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006146/0.8381, allocations: 0.8712 MB / 1.119 GB, free: 152 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.8381, allocations: 100.8 kB / 1.119 GB, free: 32 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.999e-05/0.8382, allocations: 15.98 kB / 1.119 GB, free: 16 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.8385, allocations: 35.95 kB / 1.119 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.48e-05/0.8386, allocations: 43.92 kB / 1.119 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-05/0.8386, allocations: 35.97 kB / 1.119 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.686e-05/0.8387, allocations: 98.31 kB / 1.119 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001105/0.8398, allocations: 95.88 kB / 1.119 GB, free: 15.71 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 42 (noThrWitRes.reset,thrTimWitRes.reset,noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y,noThr.reset,thrTim.reset) * Number of discrete states: 16 (thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTim.y,thrTim.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,noThr.y,noThr.passed,noThrWitRes.y,noThrWitRes.passed,thrTimWitRes.y,thrTimWitRes.passed) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002292/0.84, allocations: 155.2 kB / 1.12 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00064/0.8407, allocations: 435.2 kB / 1.12 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.8407, allocations: 0.8438 kB / 1.12 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003255/0.841, allocations: 292.9 kB / 1.12 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.8413, allocations: 28.86 kB / 1.12 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006705/0.842, allocations: 346.2 kB / 1.121 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/0.8423, allocations: 0.7749 MB / 1.121 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of SimCode: time 3.9e-07/0.8423, allocations: 4 kB / 1.121 GB, free: 13.64 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1)