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.PulsePositiveStartTime.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.PulsePositiveStartTime,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.307/1.307, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009737/0.0009737, allocations: 165.3 kB / 361.1 MB, free: 7.074 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.001/1.001, allocations: 205.1 MB / 0.6195 GB, free: 11.91 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.0007556/0.0007555, allocations: 95.45 kB / 0.7326 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1764/0.1772, allocations: 121.5 MB / 0.8512 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.5944, allocations: 115.3 MB / 0.9638 GB, free: 77.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.7273, allocations: 137.5 MB / 1.098 GB, free: 2.504 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.7275, allocations: 71.31 kB / 1.098 GB, free: 2.438 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.0494/0.777, allocations: 18.06 MB / 1.116 GB, free: 336 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.777, allocations: 13.16 kB / 1.116 GB, free: 324 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.7772, allocations: 67.56 kB / 1.116 GB, free: 256 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.7774, allocations: 203.3 kB / 1.116 GB, free: 12 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.7774, allocations: 11.98 kB / 1.116 GB, free: 0 / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.7776, allocations: 72.03 kB / 1.116 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.729e-05/0.7777, allocations: 32 kB / 1.116 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.7779, allocations: 206.3 kB / 1.116 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.7779, allocations: 1.594 kB / 1.116 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.7779, allocations: 7.984 kB / 1.116 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.7779, allocations: 0 / 1.116 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008152/0.7788, allocations: 0.8177 MB / 1.117 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.779, allocations: 303.3 kB / 1.117 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.7791, allocations: 128.9 kB / 1.118 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.7791, allocations: 4 kB / 1.118 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003393/0.7795, allocations: 346.8 kB / 1.118 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 1.884e-06/0.7795, allocations: 0 / 1.118 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.0006299/0.7801, allocations: 357.5 kB / 1.118 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.7803, allocations: 439.2 kB / 1.119 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.7805, allocations: 243.3 kB / 1.119 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.7806, allocations: 61.7 kB / 1.119 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.7807, allocations: 137.3 kB / 1.119 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.47e-05/0.7808, allocations: 90.91 kB / 1.119 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.7809, allocations: 28 kB / 1.119 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.781, allocations: 346.8 kB / 1.12 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006897/0.7817, allocations: 366.1 kB / 1.12 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008496/0.7826, allocations: 0.638 MB / 1.121 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001886/0.7845, allocations: 0.5266 MB / 1.121 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/0.7845, allocations: 7.906 kB / 1.121 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003299/0.7878, allocations: 1.254 MB / 1.122 GB, free: 8.992 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.7878, allocations: 8 kB / 1.122 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.7878, allocations: 8 kB / 1.122 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.7879, allocations: 16 kB / 1.122 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.238e-05/0.7879, allocations: 33.41 kB / 1.122 GB, free: 8.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.788, allocations: 19.88 kB / 1.122 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/0.7903, allocations: 0.5913 MB / 1.123 GB, free: 8.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/0.7905, allocations: 95.92 kB / 1.123 GB, free: 8.223 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.0002251/0.7907, allocations: 176.6 kB / 1.123 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.458e-05/0.7908, allocations: 47.52 kB / 1.123 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.944e-05/0.7908, allocations: 42.23 kB / 1.123 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.7909, allocations: 8 kB / 1.123 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.7909, allocations: 4 kB / 1.123 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.7909, allocations: 7.984 kB / 1.123 GB, free: 7.934 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.7912, allocations: 285.9 kB / 1.124 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.7912, allocations: 4 kB / 1.124 GB, free: 7.613 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.255e-05/0.7912, allocations: 19.92 kB / 1.124 GB, free: 7.594 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.7912, allocations: 9.062 kB / 1.124 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.7913, allocations: 19.98 kB / 1.124 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/0.7913, allocations: 7.938 kB / 1.124 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.7913, allocations: 4 kB / 1.124 GB, free: 7.555 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005706/0.7919, allocations: 0.5826 MB / 1.124 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006607/0.7925, allocations: 0.948 MB / 1.125 GB, free: 5.727 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-05/0.7926, allocations: 120.6 kB / 1.125 GB, free: 5.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.249e-05/0.7927, allocations: 7.984 kB / 1.125 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.7928, allocations: 14.25 kB / 1.125 GB, free: 5.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.205e-05/0.7929, allocations: 56.62 kB / 1.125 GB, free: 5.516 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/0.7929, allocations: 31.98 kB / 1.125 GB, free: 5.484 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001339/0.7931, allocations: 171.1 kB / 1.126 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001238/0.7943, allocations: 176 kB / 1.126 GB, free: 5.145 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.000179/0.7945, allocations: 130 kB / 1.126 GB, free: 5.004 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00135/0.7959, allocations: 1.099 MB / 1.127 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7959, allocations: 0 / 1.127 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.7961, allocations: 166 kB / 1.127 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005421/0.7966, allocations: 106.2 kB / 1.127 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007111/0.7974, allocations: 478.1 kB / 1.128 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003151/0.7977, allocations: 0.8245 MB / 1.128 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.7977, allocations: 0 / 1.128 GB, free: 2.18 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime_fmu --startTime=9 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1)