Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.362/1.362, allocations: 289.8 MB / 297.1 MB, free: 6.668 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.0009148/0.0009149, allocations: 177.3 kB / 366.3 MB, free: 1.953 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.062/1.062, allocations: 205.2 MB / 0.6256 GB, free: 5.797 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.000807/0.000807, allocations: 90.64 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2057/0.2066, allocations: 122.4 MB / 0.8591 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4559/0.6625, allocations: 116.3 MB / 0.9727 GB, free: 68.07 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.8076, allocations: 138.6 MB / 1.108 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.8079, allocations: 75.89 kB / 1.108 GB, free: 9.734 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.01261/0.8205, allocations: 4.669 MB / 1.113 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.8205, allocations: 15.94 kB / 1.113 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.328e-05/0.8206, allocations: 19.81 kB / 1.113 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.8208, allocations: 176.3 kB / 1.113 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.8209, allocations: 7.984 kB / 1.113 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.8209, allocations: 19.91 kB / 1.113 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001108/0.821, allocations: 40 kB / 1.113 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.8212, allocations: 70.53 kB / 1.113 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.8212, allocations: 0 / 1.113 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.8212, allocations: 0 / 1.113 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.8212, allocations: 7.984 kB / 1.113 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007297/0.8219, allocations: 472.8 kB / 1.113 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.8222, allocations: 71.61 kB / 1.114 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.056e-05/0.8222, allocations: 32.91 kB / 1.114 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.8222, allocations: 0 / 1.114 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000114/0.8224, allocations: 80.89 kB / 1.114 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.8224, allocations: 0 / 1.114 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0002483/0.8226, allocations: 113.5 kB / 1.114 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.8227, allocations: 55.41 kB / 1.114 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.8228, allocations: 148 kB / 1.114 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.8228, allocations: 29.7 kB / 1.114 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.8229, allocations: 104.5 kB / 1.114 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.8229, allocations: 27.56 kB / 1.114 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.8229, allocations: 7.938 kB / 1.114 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.343e-05/0.823, allocations: 324 kB / 1.114 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.8232, allocations: 83.98 kB / 1.114 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.8234, allocations: 135.4 kB / 1.115 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004502/0.8239, allocations: 113.8 kB / 1.115 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.8239, allocations: 0 / 1.115 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000746/0.8246, allocations: 301.1 kB / 1.115 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.8246, allocations: 4 kB / 1.115 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.8247, allocations: 8.188 kB / 1.115 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.8247, allocations: 4 kB / 1.115 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.051e-05/0.8247, allocations: 19.92 kB / 1.115 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.8248, allocations: 2.422 kB / 1.115 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005213/0.8253, allocations: 123.8 kB / 1.115 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/0.8253, allocations: 23.98 kB / 1.115 GB, free: 2.266 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.948e-05/0.8254, allocations: 114.3 kB / 1.115 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.8255, allocations: 11.81 kB / 1.115 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/0.8255, allocations: 20.55 kB / 1.115 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.8255, allocations: 3.938 kB / 1.115 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.8255, allocations: 4 kB / 1.115 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.8255, allocations: 4 kB / 1.115 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.8257, allocations: 182.3 kB / 1.116 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.8257, allocations: 0 / 1.116 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.461e-05/0.8257, allocations: 8 kB / 1.116 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.8258, allocations: 0 / 1.116 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.8258, allocations: 7.906 kB / 1.116 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8258, allocations: 0 / 1.116 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8258, allocations: 0 / 1.116 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001686/0.826, allocations: 140.5 kB / 1.116 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002335/0.8262, allocations: 0.5052 MB / 1.116 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.8262, allocations: 94.69 kB / 1.116 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.8263, allocations: 0 / 1.116 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.046e-05/0.8263, allocations: 0 / 1.116 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.8264, allocations: 15.98 kB / 1.116 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.8264, allocations: 8 kB / 1.116 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.269e-05/0.8264, allocations: 102.3 kB / 1.116 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008548/0.8273, allocations: 55.84 kB / 1.116 GB, free: 0.9102 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.000148/0.8274, allocations: 119.1 kB / 1.117 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003456/0.8278, allocations: 245 kB / 1.117 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.8278, allocations: 0 / 1.117 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.102e-05/0.8279, allocations: 56.3 kB / 1.117 GB, free: 480 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.8281, allocations: 15.98 kB / 1.117 GB, free: 464 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.8284, allocations: 160.8 kB / 1.117 GB, free: 280 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.8287, allocations: 0.7283 MB / 1.118 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.8287, allocations: 0 / 1.118 GB, free: 15.52 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1)