Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",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.0/package.mo): time 2.169/2.169, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001605/0.001605, allocations: 181.3 kB / 360.3 MB, free: 7.551 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.681/1.681, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001264/0.001263, allocations: 84.11 kB / 0.7317 GB, free: 45.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2494/0.2507, allocations: 121.4 MB / 0.8502 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5659/0.8166, allocations: 115.2 MB / 0.9628 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2024/1.019, allocations: 137.1 MB / 1.097 GB, free: 3.703 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/1.019, allocations: 64.53 kB / 1.097 GB, free: 3.641 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.02134/1.041, allocations: 4.206 MB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/1.041, allocations: 8.5 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.191e-05/1.041, allocations: 15.91 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/1.041, allocations: 174.9 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/1.041, allocations: 13.12 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.173e-05/1.041, allocations: 16 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.119e-05/1.041, allocations: 12 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/1.041, allocations: 57.66 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/1.042, allocations: 0 / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/1.042, allocations: 7.938 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/1.042, allocations: 0 / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008117/1.042, allocations: 389.1 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.619e-05/1.042, allocations: 30.56 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.789e-05/1.043, allocations: 16.86 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/1.043, allocations: 3.906 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/1.043, allocations: 79.42 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.933e-06/1.043, allocations: 0 / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003289/1.043, allocations: 89.59 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/1.043, allocations: 63.33 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/1.043, allocations: 128.1 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.529e-05/1.043, allocations: 29.7 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.015e-05/1.043, allocations: 96.05 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/1.044, allocations: 23.86 kB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/1.044, allocations: 4 kB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.044, allocations: 322.8 kB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/1.044, allocations: 75.98 kB / 1.102 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/1.044, allocations: 119.9 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007911/1.045, allocations: 107.9 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/1.045, allocations: 7.938 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001334/1.047, allocations: 281.8 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.047, allocations: 4 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.047, allocations: 4 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/1.047, allocations: 0 / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.685e-05/1.047, allocations: 14.19 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/1.047, allocations: 4.656 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009828/1.048, allocations: 116 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.774e-05/1.048, allocations: 15.98 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001524/1.048, allocations: 124.7 kB / 1.103 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/1.048, allocations: 11.91 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.685e-05/1.048, allocations: 12.31 kB / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/1.048, allocations: 4 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.048, allocations: 2.812 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/1.048, allocations: 0 / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/1.048, allocations: 162.2 kB / 1.103 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.048, allocations: 3.906 kB / 1.103 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.97e-05/1.048, allocations: 4 kB / 1.103 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/1.048, allocations: 0 / 1.103 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/1.048, allocations: 0 / 1.103 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/1.048, allocations: 4 kB / 1.103 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.048, allocations: 4 kB / 1.103 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000243/1.049, allocations: 113 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003681/1.049, allocations: 0.4989 MB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/1.049, allocations: 81.02 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/1.049, allocations: 4 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.93e-05/1.049, allocations: 4 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/1.049, allocations: 9.859 kB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/1.049, allocations: 8 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.809e-05/1.049, allocations: 91.27 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001281/1.051, allocations: 51.84 kB / 1.104 GB, free: 11.72 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002181/1.051, allocations: 107.9 kB / 1.104 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006136/1.052, allocations: 237.1 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.052, allocations: 0 / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.856e-05/1.052, allocations: 36 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/1.052, allocations: 17.62 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/1.053, allocations: 129.7 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003767/1.053, allocations: 0.7116 MB / 1.105 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of SimCode: time 7.71e-07/1.053, allocations: 0 / 1.105 GB, free: 10.43 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)