Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.Table.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.SetPoints.Examples.Table,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Examples_Table",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.294/1.294, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009182/0.0009182, allocations: 189.2 kB / 361.1 MB, free: 7.098 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.9854/0.9854, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007427/0.0007427, allocations: 91.42 kB / 0.7325 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1732/0.174, allocations: 121.4 MB / 0.8511 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.5868, allocations: 115.3 MB / 0.9637 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.7169, allocations: 139.2 MB / 1.1 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/0.7171, allocations: 72.58 kB / 1.1 GB, free: 0.707 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0113/0.7284, allocations: 4.816 MB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.7285, allocations: 10.12 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.001e-05/0.7285, allocations: 31.62 kB / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/0.729, allocations: 372.4 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.7291, allocations: 7.984 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.7291, allocations: 2.188 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.683e-05/0.7292, allocations: 32.52 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.7293, allocations: 61.62 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.7293, allocations: 0.6562 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.7293, allocations: 0 / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.7293, allocations: 0 / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.7298, allocations: 413 kB / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.017e-05/0.7299, allocations: 34.58 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.639e-05/0.7299, allocations: 16.92 kB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.7299, allocations: 0 / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.7299, allocations: 31.78 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.7299, allocations: 0 / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001694/0.7301, allocations: 77.41 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.7302, allocations: 55.44 kB / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004634/0.7306, allocations: 453.9 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.7306, allocations: 25.7 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.7307, allocations: 127.9 kB / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.7307, allocations: 3.906 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.7307, allocations: 0 / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.7308, allocations: 342.7 kB / 1.106 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.7309, allocations: 8 kB / 1.106 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.542e-05/0.7309, allocations: 8 kB / 1.106 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.18e-05/0.7309, allocations: 7.984 kB / 1.106 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.7309, allocations: 5.969 kB / 1.106 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.969e-05/0.731, allocations: 69.42 kB / 1.107 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.731, allocations: 11.91 kB / 1.107 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.731, allocations: 3.984 kB / 1.107 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.7311, allocations: 0 / 1.107 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.404e-05/0.7312, allocations: 12 kB / 1.107 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.7312, allocations: 0 / 1.107 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.581e-05/0.7313, allocations: 11.98 kB / 1.107 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.7313, allocations: 5.5 kB / 1.107 GB, free: 9.586 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.92e-05/0.7313, allocations: 104.9 kB / 1.107 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.09e-05/0.7314, allocations: 27.62 kB / 1.107 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.7315, allocations: 90.59 kB / 1.107 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.7315, allocations: 4 kB / 1.107 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.7316, allocations: 4 kB / 1.107 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.7316, allocations: 0 / 1.107 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.7318, allocations: 250.1 kB / 1.107 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.7318, allocations: 3.984 kB / 1.107 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.147e-05/0.7319, allocations: 12.23 kB / 1.107 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.7319, allocations: 0 / 1.107 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.7319, allocations: 0 / 1.107 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.7319, allocations: 3.984 kB / 1.107 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.7319, allocations: 7.5 kB / 1.107 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001219/0.732, allocations: 175.2 kB / 1.107 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001914/0.7322, allocations: 0.5464 MB / 1.108 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.7323, allocations: 124.7 kB / 1.108 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.7324, allocations: 7.938 kB / 1.108 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.7325, allocations: 11.98 kB / 1.108 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.7325, allocations: 4 kB / 1.108 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.7325, allocations: 0 / 1.108 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0003233/0.7329, allocations: 360.5 kB / 1.108 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008062/0.7337, allocations: 31.84 kB / 1.108 GB, free: 7.734 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004548/0.7341, allocations: 272.8 kB / 1.109 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.098e-05/0.7342, allocations: 20 kB / 1.109 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7342, allocations: 4 kB / 1.109 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.362e-05/0.7343, allocations: 12 kB / 1.109 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.7345, allocations: 38.66 kB / 1.109 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006005/0.7351, allocations: 364.8 kB / 1.109 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/0.7355, allocations: 0.8014 MB / 1.11 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.7355, allocations: 4 kB / 1.11 GB, free: 6.285 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1)