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.IntegerSwitch.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.IntegerSwitch,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch",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.313/1.313, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009375/0.0009375, allocations: 185.2 kB / 361.1 MB, free: 7.109 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.9945/0.9945, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.0007257/0.0007257, allocations: 85 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1735/0.1743, allocations: 121.5 MB / 0.8512 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.5695, allocations: 115.3 MB / 0.9638 GB, free: 77.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.6986, allocations: 137.7 MB / 1.098 GB, free: 2.348 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001826/0.6988, allocations: 76.52 kB / 1.098 GB, free: 2.273 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.01247/0.7113, allocations: 4.674 MB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.7113, allocations: 11.94 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.126e-05/0.7114, allocations: 24.36 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.7115, allocations: 169.3 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.7115, allocations: 4 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.7116, allocations: 15.91 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.666e-05/0.7117, allocations: 39.98 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.7118, allocations: 83.34 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.7118, allocations: 0 / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.7119, allocations: 0 / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.7119, allocations: 8 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005892/0.7125, allocations: 469.4 kB / 1.104 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.7126, allocations: 70.59 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.281e-05/0.7127, allocations: 26.17 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.7127, allocations: 0 / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001/0.7128, allocations: 87.38 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.944e-06/0.7128, allocations: 0.6094 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0002051/0.713, allocations: 109.4 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.7131, allocations: 63.39 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.306e-05/0.7132, allocations: 139.5 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.479e-05/0.7132, allocations: 33.7 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.7133, allocations: 100.5 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.7133, allocations: 35.69 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.7133, allocations: 8 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.7134, allocations: 322.8 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.7136, allocations: 83.98 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.7138, allocations: 126 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/0.7142, allocations: 120.8 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.7142, allocations: 0 / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006997/0.7149, allocations: 301.9 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.715, allocations: 8 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.715, allocations: 4 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.715, allocations: 0 / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.01e-05/0.715, allocations: 12 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.715, allocations: 4 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000465/0.7155, allocations: 119.8 kB / 1.105 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.7156, allocations: 15.98 kB / 1.105 GB, free: 10.9 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: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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.606e-05/0.7157, allocations: 124.9 kB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.817e-05/0.7157, allocations: 18.23 kB / 1.105 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/0.7157, allocations: 16.56 kB / 1.105 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.7157, allocations: 3.938 kB / 1.105 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.7157, allocations: 0 / 1.105 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.7157, allocations: 0 / 1.105 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.7159, allocations: 186.2 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.7159, allocations: 0 / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.635e-05/0.7159, allocations: 12 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.7159, allocations: 4.594 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.716, allocations: 7.906 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.716, allocations: 3.938 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.716, allocations: 4 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001558/0.7161, allocations: 132.9 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002509/0.7164, allocations: 0.5033 MB / 1.106 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.7164, allocations: 92.92 kB / 1.106 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.7165, allocations: 1.938 kB / 1.106 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.196e-05/0.7165, allocations: 7.984 kB / 1.106 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.7165, allocations: 7.984 kB / 1.106 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.7166, allocations: 7.984 kB / 1.106 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.986e-05/0.7166, allocations: 103.8 kB / 1.107 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007858/0.7174, allocations: 55.78 kB / 1.107 GB, free: 9.531 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0001311/0.7175, allocations: 119 kB / 1.107 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003314/0.7179, allocations: 249.3 kB / 1.107 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.7179, allocations: 4.062 kB / 1.107 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.135e-05/0.718, allocations: 43.94 kB / 1.107 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.7181, allocations: 26.09 kB / 1.107 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003151/0.7185, allocations: 156.4 kB / 1.107 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.7187, allocations: 0.7309 MB / 1.108 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of SimCode: time 3.51e-07/0.7187, allocations: 0 / 1.108 GB, free: 8.145 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1)