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.LogicalSwitch.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.LogicalSwitch,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.304/1.304, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.00092/0.00092, allocations: 189.3 kB / 361.1 MB, free: 7.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.994/0.994, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0007194/0.0007194, allocations: 96.88 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1683/0.169, allocations: 121.5 MB / 0.8512 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.5704, allocations: 115.3 MB / 0.9638 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1292/0.6996, allocations: 137.3 MB / 1.098 GB, free: 2.656 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001518/0.6998, allocations: 64.48 kB / 1.098 GB, free: 2.594 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.0113/0.7111, allocations: 4.205 MB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.7112, allocations: 12 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.155e-05/0.7112, allocations: 11.91 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.7113, allocations: 174.9 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.7114, allocations: 4 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.316e-05/0.7114, allocations: 16 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.231e-05/0.7115, allocations: 13.81 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.845e-05/0.7116, allocations: 62.28 kB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-06/0.7116, allocations: 0 / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.7116, allocations: 0 / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.7116, allocations: 3.938 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004973/0.7121, allocations: 389.7 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.88e-05/0.7122, allocations: 38.31 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.027e-05/0.7122, allocations: 20.86 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.7122, allocations: 4.516 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.83e-05/0.7123, allocations: 79.42 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.7123, allocations: 0 / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0001885/0.7125, allocations: 89.58 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.7126, allocations: 55.41 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.004e-05/0.7126, allocations: 128.1 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/0.7127, allocations: 37.7 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.086e-05/0.7128, allocations: 92.05 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.7128, allocations: 23.86 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.7128, allocations: 4 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.742e-05/0.7129, allocations: 322.8 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.713, allocations: 75.98 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.7132, allocations: 120.1 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/0.7136, allocations: 111.8 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7137, allocations: 4 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007019/0.7144, allocations: 277.2 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.7144, allocations: 4 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.7144, allocations: 4.188 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.7144, allocations: 8 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.052e-05/0.7144, allocations: 7.938 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.7145, allocations: 4 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004582/0.7149, allocations: 116.7 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/0.715, allocations: 19.97 kB / 1.104 GB, free: 11.96 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 8.96e-05/0.7151, allocations: 116.9 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.7151, allocations: 7.906 kB / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.7151, allocations: 12.38 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.7151, allocations: 5.625 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.7151, allocations: 4 kB / 1.104 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.7151, allocations: 1.125 kB / 1.104 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.7153, allocations: 158.2 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.7153, allocations: 8.562 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.217e-06/0.7153, allocations: 0 / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.7153, allocations: 0 / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.7153, allocations: 4 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7153, allocations: 0 / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7153, allocations: 0 / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001298/0.7155, allocations: 120.7 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000209/0.7157, allocations: 0.4934 MB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.7157, allocations: 86.7 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.7157, allocations: 0 / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.346e-05/0.7158, allocations: 0 / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.7158, allocations: 8.641 kB / 1.105 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.7158, allocations: 12 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.916e-05/0.7159, allocations: 91.27 kB / 1.105 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008147/0.7167, allocations: 55.84 kB / 1.105 GB, free: 10.7 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.0001317/0.7168, allocations: 111 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003126/0.7171, allocations: 236.9 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7172, allocations: 0 / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.802e-05/0.7172, allocations: 36.38 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.7174, allocations: 23.45 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000246/0.7177, allocations: 120.1 kB / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.7179, allocations: 0.7161 MB / 1.107 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.7179, allocations: 0 / 1.107 GB, free: 9.387 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)