Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TrueDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TrueDelay",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 7.0.3-maint.7.0.x/package.mo): time 1.291/1.291, allocations: 249.4 MB / 256.7 MB, free: 7.059 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 184.3 kB / 316 MB, free: 3.551 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.185/1.185, allocations: 205.1 MB / 0.5667 GB, free: 15.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008562/0.0008562, allocations: 83.39 kB / 0.671 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3447/0.3455, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.5158, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5026/1.018, allocations: 132.5 MB / 1.014 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/1.019, allocations: 74.88 kB / 1.014 GB, free: 6.012 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.01419/1.033, allocations: 4.782 MB / 1.019 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/1.033, allocations: 16 kB / 1.019 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/1.033, allocations: 63.52 kB / 1.019 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/1.033, allocations: 202.3 kB / 1.019 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.372e-05/1.033, allocations: 35.55 kB / 1.019 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/1.034, allocations: 63.95 kB / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004577/1.034, allocations: 208.4 kB / 1.019 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007298/1.035, allocations: 426.9 kB / 1.02 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/1.035, allocations: 0 / 1.02 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.355e-05/1.035, allocations: 19.95 kB / 1.02 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/1.035, allocations: 12 kB / 1.02 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/1.037, allocations: 0.9474 MB / 1.021 GB, free: 76 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008743/1.037, allocations: 0.5759 MB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004246/1.038, allocations: 280.1 kB / 1.022 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/1.038, allocations: 8 kB / 1.022 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000847/1.039, allocations: 0.6032 MB / 1.022 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=100): time 2.685e-06/1.039, allocations: 0 / 1.022 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of matching and sorting (n=100): time 0.001301/1.04, allocations: 0.7892 MB / 1.023 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/1.04, allocations: 97.78 kB / 1.023 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/1.04, allocations: 222.2 kB / 1.023 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.843e-05/1.04, allocations: 44.62 kB / 1.023 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/1.041, allocations: 127 kB / 1.023 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/1.041, allocations: 192.3 kB / 1.024 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/1.041, allocations: 4 kB / 1.024 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001511/1.041, allocations: 365.5 kB / 1.024 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/1.041, allocations: 172.1 kB / 1.024 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004961/1.042, allocations: 0.5157 MB / 1.025 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/1.042, allocations: 228.8 kB / 1.025 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/1.042, allocations: 4 kB / 1.025 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001084/1.043, allocations: 0.7 MB / 1.026 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.043, allocations: 4 kB / 1.026 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/1.043, allocations: 12.09 kB / 1.026 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.878e-05/1.043, allocations: 24 kB / 1.026 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004059/1.044, allocations: 127 kB / 1.026 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.773e-05/1.044, allocations: 31.86 kB / 1.026 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/1.044, allocations: 79.55 kB / 1.026 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.89e-05/1.044, allocations: 50.06 kB / 1.026 GB, free: 11.72 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 134 ($PRE.onDelay0.u,$PRE.onDelay1.u,$PRE.onDelay2.u,$PRE.onDelay4.u,$PRE.onDelay5.u,$PRE.onDelay6.u,$PRE.onDelay3.u,$PRE.onDelay7.u,$PRE.onDelay00.u,$PRE.onDelay11.u,$PRE.onDelay22.u,$PRE.onDelay44.u,$PRE.onDelay55.u,$PRE.onDelay66.u,$PRE.onDelay33.u,$PRE.onDelay77.u,$whenCondition50,$whenCondition47,$PRE.onDelay7.t_next,$whenCondition44,$PRE.onDelay3.t_next,$whenCondition41,$PRE.onDelay6.t_next,$whenCondition38,$PRE.onDelay5.t_next,$whenCondition35,$PRE.onDelay4.t_next,$whenCondition32,$PRE.onDelay2.t_next,$whenCondition29,$PRE.onDelay1.t_next,$whenCondition26,$PRE.onDelay0.t_next,onDelay7.t_next,onDelay3.t_next,onDelay6.t_next,onDelay5.t_next,onDelay4.t_next,onDelay2.t_next,onDelay1.t_next,$whenCondition48,$whenCondition49,$whenCondition45,$whenCondition46,$whenCondition42,$whenCondition43,$whenCondition39,$whenCondition40,$whenCondition36,$whenCondition37,$whenCondition33,$whenCondition34,$whenCondition30,$whenCondition31,$whenCondition27,$whenCondition28,onDelay0.u,onDelay0.y,onDelay1.u,onDelay1.y,onDelay2.u,onDelay2.y,onDelay4.u,onDelay4.y,onDelay5.u,onDelay5.y,onDelay6.u,onDelay6.y,onDelay3.u,onDelay3.y,onDelay7.u,onDelay7.y,$PRE.booPul.pulseStart,booPul.pulseStart,onDelay0.t_next,$whenCondition25,$whenCondition22,$PRE.onDelay77.t_next,$whenCondition19,$PRE.onDelay33.t_next,$whenCondition16,$PRE.onDelay66.t_next,$whenCondition13,$PRE.onDelay55.t_next,$whenCondition10,$PRE.onDelay44.t_next,$whenCondition7,$PRE.onDelay22.t_next,$whenCondition4,$PRE.onDelay11.t_next,$whenCondition1,$PRE.onDelay00.t_next,onDelay77.t_next,onDelay33.t_next,onDelay66.t_next,onDelay55.t_next,onDelay44.t_next,onDelay22.t_next,onDelay11.t_next,$whenCondition23,$whenCondition24,$whenCondition20,$whenCondition21,$whenCondition17,$whenCondition18,$whenCondition14,$whenCondition15,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,onDelay00.u,onDelay00.y,onDelay11.u,onDelay11.y,onDelay22.u,onDelay22.y,onDelay44.u,onDelay44.y,onDelay55.u,onDelay55.y,onDelay66.u,onDelay66.y,onDelay33.u,onDelay33.y,onDelay77.u,onDelay77.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,onDelay00.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * 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.0002099/1.045, allocations: 195.6 kB / 1.026 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.57e-05/1.045, allocations: 75.41 kB / 1.026 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.418e-05/1.045, allocations: 39.94 kB / 1.026 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/1.045, allocations: 12 kB / 1.026 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/1.045, allocations: 3.938 kB / 1.026 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/1.045, allocations: 11.91 kB / 1.026 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/1.047, allocations: 1.781 MB / 1.028 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.047, allocations: 0 / 1.028 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.419e-05/1.047, allocations: 27.3 kB / 1.028 GB, free: 9.871 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.385e-06/1.047, allocations: 15.92 kB / 1.028 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.885e-05/1.047, allocations: 23.77 kB / 1.028 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/1.047, allocations: 4 kB / 1.028 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.047, allocations: 0 / 1.028 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001225/1.049, allocations: 0.9944 MB / 1.029 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001256/1.05, allocations: 1.37 MB / 1.03 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.513e-05/1.05, allocations: 115.5 kB / 1.03 GB, free: 7.727 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/1.05, allocations: 27.14 kB / 1.03 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/1.051, allocations: 74.95 kB / 1.03 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/1.051, allocations: 91.09 kB / 1.031 GB, free: 7.555 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.753e-05/1.051, allocations: 84.59 kB / 1.031 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.000111/1.051, allocations: 150 kB / 1.031 GB, free: 7.363 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001255/1.052, allocations: 167.6 kB / 1.031 GB, free: 7.203 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 100 (onDelay00.u,onDelay11.u,onDelay22.u,onDelay33.u,onDelay44.u,onDelay55.u,onDelay66.u,onDelay77.u,$whenCondition25,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,onDelay00.y,onDelay00.t_next,onDelay11.y,onDelay11.t_next,onDelay22.y,onDelay22.t_next,onDelay44.y,onDelay44.t_next,onDelay55.y,onDelay55.t_next,onDelay66.y,onDelay66.t_next,onDelay33.y,onDelay33.t_next,onDelay77.y,onDelay77.t_next,booPul1.pulseStart,onDelay0.u,onDelay1.u,onDelay2.u,onDelay3.u,onDelay4.u,onDelay5.u,onDelay6.u,onDelay7.u,$whenCondition50,$whenCondition47,$whenCondition48,$whenCondition49,$whenCondition44,$whenCondition45,$whenCondition46,$whenCondition41,$whenCondition42,$whenCondition43,$whenCondition38,$whenCondition39,$whenCondition40,$whenCondition35,$whenCondition36,$whenCondition37,$whenCondition32,$whenCondition33,$whenCondition34,$whenCondition29,$whenCondition30,$whenCondition31,$whenCondition26,$whenCondition27,$whenCondition28,onDelay0.y,onDelay0.t_next,onDelay1.y,onDelay1.t_next,onDelay2.y,onDelay2.t_next,onDelay4.y,onDelay4.t_next,onDelay5.y,onDelay5.t_next,onDelay6.y,onDelay6.t_next,onDelay3.y,onDelay3.t_next,onDelay7.y,onDelay7.t_next,booPul.pulseStart) * Number of discrete states: 16 (onDelay7.t_next,onDelay3.t_next,onDelay6.t_next,onDelay5.t_next,onDelay4.t_next,onDelay2.t_next,onDelay1.t_next,onDelay0.t_next,onDelay77.t_next,onDelay33.t_next,onDelay66.t_next,onDelay55.t_next,onDelay44.t_next,onDelay22.t_next,onDelay11.t_next,onDelay00.t_next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 34 * 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.0002614/1.053, allocations: 169.1 kB / 1.031 GB, free: 7.039 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001021/1.054, allocations: 0.6812 MB / 1.032 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.054, allocations: 4 kB / 1.032 GB, free: 6.539 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006396/1.054, allocations: 0.5699 MB / 1.032 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/1.055, allocations: 43.27 kB / 1.032 GB, free: 6.145 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/1.056, allocations: 0.7873 MB / 1.033 GB, free: 5.48 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004834/1.057, allocations: 0.8906 MB / 1.034 GB, free: 4.562 MB / 0.6511 GB Notification: Performance of SimCode: time 3.81e-07/1.057, allocations: 0 / 1.034 GB, free: 4.562 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TrueDelay_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TrueDelay.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe 2>&1)