Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",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.387/1.387, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.001077/0.001077, allocations: 181.3 kB / 366.3 MB, free: 1.945 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.092/1.092, allocations: 205.2 MB / 0.6256 GB, free: 5.879 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.0008015/0.0008015, allocations: 86.97 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2044/0.2053, allocations: 122.5 MB / 0.8591 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4332/0.6384, allocations: 116.3 MB / 0.9727 GB, free: 68.27 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1408/0.7793, allocations: 137.2 MB / 1.107 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.7795, allocations: 72.52 kB / 1.107 GB, free: 11.2 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005856/0.7801, allocations: 359.5 kB / 1.107 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.7802, allocations: 8.719 kB / 1.107 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.58e-05/0.7802, allocations: 3.984 kB / 1.107 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.157e-05/0.7803, allocations: 168.3 kB / 1.107 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.7803, allocations: 0.5312 kB / 1.107 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-06/0.7803, allocations: 0 / 1.107 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.22e-05/0.7804, allocations: 1.25 kB / 1.107 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.227e-05/0.7804, allocations: 33.64 kB / 1.107 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.7804, allocations: 1.094 kB / 1.107 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.7804, allocations: 0 / 1.107 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.7804, allocations: 0 / 1.107 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/0.7807, allocations: 363.3 kB / 1.108 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.814e-05/0.7807, allocations: 169.2 kB / 1.108 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.583e-05/0.7808, allocations: 84.14 kB / 1.108 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.7808, allocations: 75.28 kB / 1.108 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.7808, allocations: 113.8 kB / 1.108 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.7808, allocations: 0 / 1.108 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.253e-05/0.7809, allocations: 25.7 kB / 1.108 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.7809, allocations: 55.97 kB / 1.108 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.981e-05/0.781, allocations: 92.98 kB / 1.108 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.781, allocations: 25.7 kB / 1.108 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.506e-05/0.781, allocations: 84.08 kB / 1.108 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-06/0.781, allocations: 0 / 1.108 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-07/0.7811, allocations: 0 / 1.108 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.898e-05/0.7811, allocations: 318.5 kB / 1.109 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.655e-06/0.7811, allocations: 0 / 1.109 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.824e-06/0.7812, allocations: 4 kB / 1.109 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.81e-05/0.7812, allocations: 75.28 kB / 1.109 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.65e-05/0.7812, allocations: 79.41 kB / 1.109 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.307e-05/0.7813, allocations: 33.64 kB / 1.109 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.7813, allocations: 8 kB / 1.109 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.7813, allocations: 75.28 kB / 1.109 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.34e-05/0.7813, allocations: 154.5 kB / 1.109 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.954e-05/0.7814, allocations: 83.22 kB / 1.109 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.528e-05/0.7814, allocations: 152.7 kB / 1.109 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.404e-05/0.7815, allocations: 83.28 kB / 1.109 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.7815, allocations: 80.44 kB / 1.109 GB, free: 8.262 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 (0): * Single equations (assignments): 0 * 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 7.56e-05/0.7816, allocations: 255.5 kB / 1.11 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.7816, allocations: 101 kB / 1.11 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.558e-05/0.7817, allocations: 112 kB / 1.11 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.586e-05/0.7817, allocations: 188.2 kB / 1.11 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-05/0.7818, allocations: 176.3 kB / 1.11 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.123e-05/0.7818, allocations: 176.6 kB / 1.11 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.782, allocations: 389.7 kB / 1.111 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.54e-05/0.782, allocations: 102.3 kB / 1.111 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-05/0.782, allocations: 104.9 kB / 1.111 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.242e-05/0.7821, allocations: 184.2 kB / 1.111 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.321e-05/0.7821, allocations: 180.3 kB / 1.111 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.094e-05/0.7822, allocations: 184.2 kB / 1.112 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.644e-05/0.7822, allocations: 185.4 kB / 1.112 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.876e-05/0.7823, allocations: 299.8 kB / 1.112 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001731/0.7825, allocations: 0.6723 MB / 1.113 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-05/0.7826, allocations: 182.1 kB / 1.113 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.092e-05/0.7826, allocations: 180.2 kB / 1.113 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.178e-05/0.7827, allocations: 113 kB / 1.113 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.7827, allocations: 184.2 kB / 1.113 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.7828, allocations: 104.9 kB / 1.113 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.175e-05/0.7828, allocations: 75.28 kB / 1.113 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007595/0.7836, allocations: 7.906 kB / 1.113 GB, free: 3.945 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 (0): * Single equations (assignments): 0 * 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.0001129/0.7837, allocations: 174.6 kB / 1.114 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 2.426e-05/0.7837, allocations: 0 / 1.114 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.7837, allocations: 0 / 1.114 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.71e-07/0.7837, allocations: 1.312 kB / 1.114 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.784, allocations: 0.5185 MB / 1.114 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001513/0.7841, allocations: 131.3 kB / 1.114 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.7843, allocations: 0.6841 MB / 1.115 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.7843, allocations: 0 / 1.115 GB, free: 2.375 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)