Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.153/2.153, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.001567/0.001567, allocations: 181.2 kB / 360.3 MB, free: 7.574 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.63/1.63, allocations: 205.1 MB / 0.6187 GB, free: 13.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.001195/0.001195, allocations: 94.83 kB / 0.7317 GB, free: 45.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2486/0.2498, allocations: 121.4 MB / 0.8502 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5538/0.8036, allocations: 115.2 MB / 0.9628 GB, free: 78.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2044/1.008, allocations: 136.1 MB / 1.096 GB, free: 4.789 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/1.008, allocations: 68.66 kB / 1.096 GB, free: 4.723 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0007046/1.009, allocations: 363.6 kB / 1.096 GB, free: 4.328 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/1.009, allocations: 12.53 kB / 1.096 GB, free: 4.316 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/1.009, allocations: 0 / 1.096 GB, free: 4.316 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/1.009, allocations: 165.1 kB / 1.096 GB, free: 4.117 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/1.009, allocations: 0 / 1.096 GB, free: 4.117 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.353e-06/1.009, allocations: 2.766 kB / 1.096 GB, free: 4.117 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.685e-05/1.009, allocations: 4 kB / 1.096 GB, free: 4.113 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.089e-05/1.01, allocations: 26.42 kB / 1.096 GB, free: 4.082 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/1.01, allocations: 0 / 1.096 GB, free: 4.082 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/1.01, allocations: 1.188 kB / 1.096 GB, free: 4.082 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/1.01, allocations: 0 / 1.096 GB, free: 4.082 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/1.01, allocations: 368.6 kB / 1.097 GB, free: 3.684 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.481e-05/1.01, allocations: 168.7 kB / 1.097 GB, free: 3.512 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/1.01, allocations: 81.73 kB / 1.097 GB, free: 3.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/1.01, allocations: 79.28 kB / 1.097 GB, free: 3.352 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.743e-05/1.01, allocations: 115.3 kB / 1.097 GB, free: 3.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/1.01, allocations: 0 / 1.097 GB, free: 3.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.587e-05/1.01, allocations: 30.17 kB / 1.097 GB, free: 3.195 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/1.01, allocations: 52 kB / 1.097 GB, free: 3.133 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.585e-05/1.01, allocations: 85.97 kB / 1.097 GB, free: 3.043 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/1.01, allocations: 25.7 kB / 1.097 GB, free: 3.012 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/1.01, allocations: 88.73 kB / 1.097 GB, free: 2.922 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-06/1.01, allocations: 0.7188 kB / 1.097 GB, free: 2.922 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-07/1.01, allocations: 0 / 1.097 GB, free: 2.922 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001731/1.011, allocations: 317.9 kB / 1.098 GB, free: 2.605 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.091e-06/1.011, allocations: 4.625 kB / 1.098 GB, free: 2.602 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.755e-06/1.011, allocations: 1 kB / 1.098 GB, free: 2.602 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.857e-05/1.011, allocations: 75.28 kB / 1.098 GB, free: 2.527 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.1e-05/1.011, allocations: 75.81 kB / 1.098 GB, free: 2.453 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.022e-05/1.011, allocations: 34.38 kB / 1.098 GB, free: 2.414 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/1.011, allocations: 4.656 kB / 1.098 GB, free: 2.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.906e-05/1.011, allocations: 81.62 kB / 1.098 GB, free: 2.332 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.58e-05/1.011, allocations: 151.1 kB / 1.098 GB, free: 2.184 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.503e-05/1.011, allocations: 82.05 kB / 1.098 GB, free: 2.105 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.996e-05/1.011, allocations: 154.5 kB / 1.098 GB, free: 1.953 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.552e-05/1.011, allocations: 75.78 kB / 1.098 GB, free: 1.879 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/1.011, allocations: 75.91 kB / 1.098 GB, free: 1.805 MB / 0.698 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 0.0001313/1.011, allocations: 265.8 kB / 1.099 GB, free: 1.539 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.054e-05/1.011, allocations: 109.4 kB / 1.099 GB, free: 1.426 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.975e-05/1.012, allocations: 108.6 kB / 1.099 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.005e-05/1.012, allocations: 176.9 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.28e-05/1.012, allocations: 181.4 kB / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.896e-05/1.012, allocations: 181.4 kB / 1.099 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/1.012, allocations: 382.5 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-05/1.012, allocations: 111.2 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/1.012, allocations: 108.9 kB / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.898e-05/1.012, allocations: 185.5 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-05/1.012, allocations: 181.6 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.556e-05/1.012, allocations: 176.3 kB / 1.1 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.513e-05/1.012, allocations: 177.4 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001437/1.013, allocations: 307.9 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002752/1.013, allocations: 0.6701 MB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.853e-05/1.013, allocations: 190.1 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.867e-05/1.013, allocations: 184.3 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.764e-05/1.013, allocations: 105.5 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/1.013, allocations: 176.3 kB / 1.102 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.493e-05/1.013, allocations: 108.9 kB / 1.102 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.993e-05/1.013, allocations: 75.28 kB / 1.102 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001135/1.015, allocations: 3.906 kB / 1.102 GB, free: 13.5 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.0001624/1.015, allocations: 182.5 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 3.543e-05/1.015, allocations: 0 / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.015, allocations: 0 / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.764e-06/1.015, allocations: 0 / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/1.015, allocations: 0.529 MB / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001987/1.015, allocations: 115.4 kB / 1.103 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/1.016, allocations: 0.6841 MB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of SimCode: time 6.61e-07/1.016, allocations: 3.938 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)