Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_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.16/2.16, allocations: 284.8 MB / 292.1 MB, free: 10.76 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.001602/0.001602, allocations: 191.7 kB / 360.3 MB, free: 7.531 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.657/1.657, allocations: 205.1 MB / 0.6187 GB, free: 13.19 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.001217/0.001217, allocations: 86.09 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2515/0.2528, allocations: 121.4 MB / 0.8502 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5665/0.8193, allocations: 115.2 MB / 0.9628 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2018/1.021, allocations: 136.1 MB / 1.096 GB, free: 4.723 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/1.022, allocations: 68.81 kB / 1.096 GB, free: 4.656 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.0007598/1.022, allocations: 361.8 kB / 1.096 GB, free: 4.266 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/1.022, allocations: 11.98 kB / 1.096 GB, free: 4.254 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/1.022, allocations: 3.75 kB / 1.096 GB, free: 4.254 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/1.023, allocations: 173.9 kB / 1.096 GB, free: 4.047 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/1.023, allocations: 3.062 kB / 1.096 GB, free: 4.047 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/1.023, allocations: 0 / 1.096 GB, free: 4.047 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.215e-05/1.023, allocations: 4 kB / 1.096 GB, free: 4.043 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.71e-05/1.023, allocations: 28.08 kB / 1.096 GB, free: 4.012 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/1.023, allocations: 4 kB / 1.096 GB, free: 4.008 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/1.023, allocations: 0 / 1.096 GB, free: 4.008 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/1.023, allocations: 0 / 1.096 GB, free: 4.008 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003287/1.023, allocations: 357.4 kB / 1.097 GB, free: 3.621 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/1.023, allocations: 180.9 kB / 1.097 GB, free: 3.438 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.42e-05/1.023, allocations: 80.14 kB / 1.097 GB, free: 3.355 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/1.023, allocations: 75.89 kB / 1.097 GB, free: 3.281 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/1.023, allocations: 105.8 kB / 1.097 GB, free: 3.168 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 2.695e-06/1.023, allocations: 0 / 1.097 GB, free: 3.168 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.926e-05/1.023, allocations: 30.3 kB / 1.097 GB, free: 3.137 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/1.024, allocations: 55.39 kB / 1.097 GB, free: 3.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.357e-05/1.024, allocations: 89 kB / 1.097 GB, free: 2.977 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/1.024, allocations: 29.64 kB / 1.097 GB, free: 2.941 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/1.024, allocations: 80.14 kB / 1.097 GB, free: 2.859 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/1.024, allocations: 2.75 kB / 1.097 GB, free: 2.859 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-07/1.024, allocations: 0 / 1.097 GB, free: 2.859 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.024, allocations: 321.3 kB / 1.098 GB, free: 2.539 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.506e-06/1.024, allocations: 0 / 1.098 GB, free: 2.539 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.109e-06/1.024, allocations: 4 kB / 1.098 GB, free: 2.535 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.977e-05/1.024, allocations: 75.28 kB / 1.098 GB, free: 2.461 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.271e-05/1.024, allocations: 76.47 kB / 1.098 GB, free: 2.387 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.836e-05/1.024, allocations: 25.7 kB / 1.098 GB, free: 2.355 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/1.024, allocations: 9.094 kB / 1.098 GB, free: 2.348 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.668e-05/1.024, allocations: 75.28 kB / 1.098 GB, free: 2.273 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.029e-05/1.024, allocations: 159.6 kB / 1.098 GB, free: 2.117 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.304e-05/1.024, allocations: 75.28 kB / 1.098 GB, free: 2.043 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.266e-05/1.024, allocations: 151.2 kB / 1.098 GB, free: 1.895 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.329e-05/1.024, allocations: 88.81 kB / 1.098 GB, free: 1.809 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/1.025, allocations: 75.91 kB / 1.098 GB, free: 1.734 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.0001328/1.025, allocations: 264.4 kB / 1.099 GB, free: 1.469 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.687e-05/1.025, allocations: 105.4 kB / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.317e-05/1.025, allocations: 112.6 kB / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.189e-05/1.025, allocations: 179 kB / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001295/1.025, allocations: 176.3 kB / 1.099 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-05/1.025, allocations: 184 kB / 1.099 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/1.025, allocations: 386.9 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-05/1.025, allocations: 107.1 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.524e-05/1.025, allocations: 105.5 kB / 1.1 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.888e-05/1.026, allocations: 182.2 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.403e-05/1.026, allocations: 181.4 kB / 1.1 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-05/1.026, allocations: 185 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.021e-05/1.026, allocations: 181.6 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001612/1.026, allocations: 303.8 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003108/1.026, allocations: 0.674 MB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.494e-05/1.026, allocations: 182.1 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/1.027, allocations: 176.3 kB / 1.102 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/1.027, allocations: 114 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.251e-05/1.027, allocations: 176.9 kB / 1.102 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/1.027, allocations: 105.1 kB / 1.102 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.366e-05/1.027, allocations: 75.28 kB / 1.102 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001274/1.028, allocations: 7.906 kB / 1.102 GB, free: 13.43 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.0001734/1.028, allocations: 170.5 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.011e-05/1.028, allocations: 3.938 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.028, allocations: 0 / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.39e-06/1.028, allocations: 4.094 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/1.029, allocations: 0.5296 MB / 1.103 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002091/1.029, allocations: 115.4 kB / 1.103 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003154/1.029, allocations: 0.6841 MB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of SimCode: time 8.82e-07/1.029, allocations: 0 / 1.104 GB, free: 11.87 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1)