Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Validation.Change,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Change",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.339/1.339, allocations: 285.5 MB / 292.8 MB, free: 9.75 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.0009018/0.0009018, allocations: 177.3 kB / 361.1 MB, free: 388 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.039/1.039, allocations: 205.2 MB / 0.6195 GB, free: 2.836 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007473/0.0007473, allocations: 80.53 kB / 0.7326 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3481/0.3489, allocations: 121.5 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.4904, allocations: 115.3 MB / 0.9638 GB, free: 56.26 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4137/0.9041, allocations: 137.6 MB / 1.098 GB, free: 44.45 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001616/0.9043, allocations: 69.89 kB / 1.098 GB, free: 44.45 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.005222/0.9096, allocations: 2.18 MB / 1.1 GB, free: 43.96 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.9096, allocations: 11.75 kB / 1.1 GB, free: 43.95 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.9097, allocations: 11.66 kB / 1.1 GB, free: 43.95 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.278e-05/0.9097, allocations: 172.1 kB / 1.1 GB, free: 43.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.9097, allocations: 0.875 kB / 1.1 GB, free: 43.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.9098, allocations: 7.75 kB / 1.101 GB, free: 43.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.445e-05/0.9098, allocations: 13.25 kB / 1.101 GB, free: 43.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.22e-05/0.9099, allocations: 50.95 kB / 1.101 GB, free: 43.71 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.9099, allocations: 0.6562 kB / 1.101 GB, free: 43.71 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.9099, allocations: 3.938 kB / 1.101 GB, free: 43.71 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.9099, allocations: 0 / 1.101 GB, free: 43.71 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.9103, allocations: 315.1 kB / 1.101 GB, free: 43.47 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.838e-05/0.9103, allocations: 42.59 kB / 1.101 GB, free: 43.45 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.94e-05/0.9104, allocations: 19.8 kB / 1.101 GB, free: 43.44 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.9104, allocations: 4 kB / 1.101 GB, free: 43.44 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.18e-05/0.9105, allocations: 72.62 kB / 1.101 GB, free: 43.38 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.9105, allocations: 0 / 1.101 GB, free: 43.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001419/0.9106, allocations: 73.8 kB / 1.101 GB, free: 43.35 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.575e-05/0.9106, allocations: 59.22 kB / 1.101 GB, free: 43.28 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.453e-05/0.9107, allocations: 103.2 kB / 1.101 GB, free: 43.19 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.9107, allocations: 29.58 kB / 1.101 GB, free: 43.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.681e-05/0.9107, allocations: 95.55 kB / 1.101 GB, free: 43.07 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.9108, allocations: 17.3 kB / 1.101 GB, free: 43.06 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/0.9108, allocations: 0 / 1.101 GB, free: 43.06 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 3.443e-05/0.9108, allocations: 323.2 kB / 1.102 GB, free: 42.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.539e-05/0.9109, allocations: 31.34 kB / 1.102 GB, free: 42.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.282e-05/0.911, allocations: 72.91 kB / 1.102 GB, free: 42.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.9112, allocations: 48.36 kB / 1.102 GB, free: 42.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.9112, allocations: 0 / 1.102 GB, free: 42.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002864/0.9115, allocations: 145.9 kB / 1.102 GB, free: 42.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/0.9115, allocations: 3.219 kB / 1.102 GB, free: 42.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.9115, allocations: 3.906 kB / 1.102 GB, free: 42.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.9115, allocations: 8.109 kB / 1.102 GB, free: 42.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.203e-05/0.9116, allocations: 22.06 kB / 1.102 GB, free: 42.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.9116, allocations: 7.656 kB / 1.102 GB, free: 42.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.9118, allocations: 49.81 kB / 1.102 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.9118, allocations: 3.844 kB / 1.102 GB, free: 42.64 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 4.947e-05/0.9119, allocations: 112.8 kB / 1.102 GB, free: 42.53 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.9119, allocations: 10.75 kB / 1.102 GB, free: 42.53 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.491e-05/0.9119, allocations: 12.09 kB / 1.102 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.9119, allocations: 0 / 1.102 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.912, allocations: 0 / 1.102 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.912, allocations: 3.906 kB / 1.102 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.9121, allocations: 308.9 kB / 1.102 GB, free: 42.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.9122, allocations: 4 kB / 1.102 GB, free: 42.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.215e-05/0.9122, allocations: 15.14 kB / 1.102 GB, free: 42.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.9122, allocations: 0 / 1.102 GB, free: 42.25 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.9122, allocations: 3.906 kB / 1.103 GB, free: 42.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.9122, allocations: 0 / 1.103 GB, free: 42.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.9123, allocations: 4.938 kB / 1.103 GB, free: 42.24 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.392e-05/0.9124, allocations: 178.4 kB / 1.103 GB, free: 42.1 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001452/0.9125, allocations: 0.5365 MB / 1.103 GB, free: 57.59 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.9125, allocations: 84.81 kB / 1.103 GB, free: 57.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.9126, allocations: 0 / 1.103 GB, free: 57.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.4e-05/0.9127, allocations: 17.66 kB / 1.103 GB, free: 57.49 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.9127, allocations: 7.781 kB / 1.103 GB, free: 57.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.9127, allocations: 8.391 kB / 1.103 GB, free: 57.49 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.504e-05/0.9127, allocations: 93.78 kB / 1.103 GB, free: 57.41 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007711/0.9135, allocations: 25.31 kB / 1.103 GB, free: 57.41 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001123/0.9136, allocations: 117.8 kB / 1.104 GB, free: 57.31 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.9138, allocations: 105.8 kB / 1.104 GB, free: 57.27 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.9138, allocations: 0 / 1.104 GB, free: 57.27 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.047e-05/0.9139, allocations: 30.84 kB / 1.104 GB, free: 57.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.914, allocations: 6.109 kB / 1.104 GB, free: 57.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002133/0.9143, allocations: 95.2 kB / 1.104 GB, free: 57.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.9145, allocations: 0.7052 MB / 1.104 GB, free: 56.5 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.9145, allocations: 4.062 kB / 1.104 GB, free: 56.49 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)