Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TrueDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.827/1.827, allocations: 387.2 MB / 394.5 MB, free: 13.6 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009303/0.0009303, allocations: 181.2 kB / 487 MB, free: 5.355 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.16/1.16, allocations: 221.3 MB / 0.7819 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008743/0.0008743, allocations: 98.08 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.443/0.4439, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.6461, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5394/1.186, allocations: 149.2 MB / 1.351 GB, free: 16.18 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001504/1.186, allocations: 70.25 kB / 1.351 GB, free: 16.18 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.01886/1.205, allocations: 6.564 MB / 1.357 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/1.205, allocations: 9.844 kB / 1.357 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/1.205, allocations: 73.97 kB / 1.358 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/1.205, allocations: 207.4 kB / 1.358 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.515e-05/1.205, allocations: 29.33 kB / 1.358 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/1.205, allocations: 74.22 kB / 1.358 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004317/1.206, allocations: 200.5 kB / 1.358 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007612/1.206, allocations: 424.5 kB / 1.358 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/1.206, allocations: 0 / 1.358 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-05/1.207, allocations: 29.55 kB / 1.358 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/1.207, allocations: 5.922 kB / 1.358 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/1.208, allocations: 0.9069 MB / 1.359 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009006/1.209, allocations: 0.5747 MB / 1.36 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004989/1.209, allocations: 289.5 kB / 1.36 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/1.209, allocations: 5.312 kB / 1.36 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/1.21, allocations: 0.5979 MB / 1.361 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=102): time 2.485e-06/1.21, allocations: 0 / 1.361 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of matching and sorting (n=102): time 0.001266/1.212, allocations: 0.8201 MB / 1.362 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/1.212, allocations: 95.36 kB / 1.362 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/1.212, allocations: 224 kB / 1.362 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.18e-05/1.212, allocations: 43.14 kB / 1.362 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/1.212, allocations: 119.2 kB / 1.362 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/1.212, allocations: 198.3 kB / 1.362 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/1.212, allocations: 4 kB / 1.362 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.644e-05/1.212, allocations: 368 kB / 1.363 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003546/1.213, allocations: 217.4 kB / 1.363 GB, free: 13 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004619/1.213, allocations: 0.5748 MB / 1.363 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006172/1.214, allocations: 291 kB / 1.364 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/1.214, allocations: 0 / 1.364 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001337/1.215, allocations: 0.8374 MB / 1.364 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/1.215, allocations: 4.516 kB / 1.364 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/1.215, allocations: 12 kB / 1.364 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/1.215, allocations: 20 kB / 1.364 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/1.216, allocations: 124.8 kB / 1.365 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.155e-05/1.216, allocations: 30.64 kB / 1.365 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007017/1.216, allocations: 147.3 kB / 1.365 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.181e-05/1.216, allocations: 56.67 kB / 1.365 GB, free: 11.26 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 136 ($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,$PRE.onDelay0.t_next,$whenCondition47,$PRE.onDelay1.t_next,$whenCondition44,$PRE.onDelay2.t_next,$whenCondition41,$PRE.onDelay4.t_next,$whenCondition38,$PRE.onDelay5.t_next,$whenCondition35,$PRE.onDelay6.t_next,$whenCondition32,$PRE.onDelay3.t_next,$whenCondition29,$PRE.onDelay7.t_next,$whenCondition27,$whenCondition28,onDelay0.t_next,onDelay1.t_next,onDelay2.t_next,onDelay4.t_next,onDelay5.t_next,onDelay6.t_next,onDelay3.t_next,onDelay7.t_next,$whenCondition51,$whenCondition52,$whenCondition48,$whenCondition49,$whenCondition45,$whenCondition46,$whenCondition42,$whenCondition43,$whenCondition39,$whenCondition40,$whenCondition36,$whenCondition37,$whenCondition33,$whenCondition34,$whenCondition30,$whenCondition31,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.y,booPul.y,$whenCondition24,$PRE.onDelay00.t_next,$whenCondition21,$PRE.onDelay11.t_next,$whenCondition18,$PRE.onDelay22.t_next,$whenCondition15,$PRE.onDelay44.t_next,$whenCondition12,$PRE.onDelay55.t_next,$whenCondition9,$PRE.onDelay66.t_next,$whenCondition6,$PRE.onDelay33.t_next,$whenCondition3,$PRE.onDelay77.t_next,$whenCondition1,$whenCondition2,onDelay00.t_next,onDelay11.t_next,onDelay22.t_next,onDelay44.t_next,onDelay55.t_next,onDelay66.t_next,onDelay33.t_next,onDelay77.t_next,$whenCondition25,$whenCondition26,$whenCondition22,$whenCondition23,$whenCondition19,$whenCondition20,$whenCondition16,$whenCondition17,$whenCondition13,$whenCondition14,$whenCondition10,$whenCondition11,$whenCondition7,$whenCondition8,$whenCondition4,$whenCondition5,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.y,booPul1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 150 * 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.0002345/1.217, allocations: 212.5 kB / 1.365 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.239e-05/1.217, allocations: 80.98 kB / 1.365 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.452e-05/1.217, allocations: 37.23 kB / 1.365 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/1.217, allocations: 8.797 kB / 1.365 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/1.217, allocations: 4 kB / 1.365 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/1.217, allocations: 5.062 kB / 1.365 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002172/1.219, allocations: 1.664 MB / 1.367 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.219, allocations: 0 / 1.367 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.003e-05/1.219, allocations: 31.11 kB / 1.367 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/1.219, allocations: 4 kB / 1.367 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.58e-05/1.219, allocations: 27.64 kB / 1.367 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/1.219, allocations: 11.94 kB / 1.367 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/1.219, allocations: 0 / 1.367 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001041/1.22, allocations: 1.002 MB / 1.368 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001052/1.221, allocations: 1.389 MB / 1.369 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/1.221, allocations: 124.4 kB / 1.369 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/1.221, allocations: 23.83 kB / 1.369 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/1.222, allocations: 59.91 kB / 1.369 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/1.222, allocations: 86.84 kB / 1.369 GB, free: 7.559 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.409e-05/1.222, allocations: 77.39 kB / 1.37 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.291e-05/1.222, allocations: 151.2 kB / 1.37 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00119/1.223, allocations: 191.6 kB / 1.37 GB, free: 7.195 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 102 (onDelay00.u,onDelay11.u,onDelay22.u,onDelay33.u,onDelay44.u,onDelay55.u,onDelay77.u,onDelay66.u,$whenCondition24,$whenCondition25,$whenCondition26,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,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.y,onDelay0.u,onDelay1.u,onDelay2.u,onDelay3.u,onDelay4.u,onDelay5.u,onDelay7.u,onDelay6.u,$whenCondition50,$whenCondition51,$whenCondition52,$whenCondition47,$whenCondition48,$whenCondition49,$whenCondition44,$whenCondition45,$whenCondition46,$whenCondition41,$whenCondition42,$whenCondition43,$whenCondition38,$whenCondition39,$whenCondition40,$whenCondition35,$whenCondition36,$whenCondition37,$whenCondition32,$whenCondition33,$whenCondition34,$whenCondition29,$whenCondition30,$whenCondition31,$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.y) * Number of discrete states: 16 (onDelay0.t_next,onDelay1.t_next,onDelay2.t_next,onDelay4.t_next,onDelay5.t_next,onDelay6.t_next,onDelay3.t_next,onDelay7.t_next,onDelay00.t_next,onDelay11.t_next,onDelay22.t_next,onDelay44.t_next,onDelay55.t_next,onDelay66.t_next,onDelay33.t_next,onDelay77.t_next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 68 * 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.0002025/1.224, allocations: 174.5 kB / 1.37 GB, free: 7.027 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001022/1.225, allocations: 0.8083 MB / 1.371 GB, free: 6.414 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.225, allocations: 4.125 kB / 1.371 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005475/1.225, allocations: 0.5901 MB / 1.371 GB, free: 6.039 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/1.225, allocations: 42.97 kB / 1.371 GB, free: 6.004 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/1.227, allocations: 0.7508 MB / 1.372 GB, free: 5.383 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004134/1.227, allocations: 0.8971 MB / 1.373 GB, free: 20.45 MB / 0.823 GB Notification: Performance of SimCode: time 4.11e-07/1.227, allocations: 0 / 1.373 GB, free: 20.45 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TrueDelay_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TrueDelay.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay_res.mat does not exist to compare? outputFormat=mat