Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Validation.Add,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",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.142/2.142, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001583/0.001583, allocations: 177.3 kB / 360.3 MB, free: 7.551 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.656/1.656, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001216/0.001216, allocations: 91.25 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2464/0.2476, allocations: 121.4 MB / 0.8502 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5622/0.8099, allocations: 115.2 MB / 0.9628 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2036/1.014, allocations: 136.5 MB / 1.096 GB, free: 4.309 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/1.014, allocations: 73.14 kB / 1.096 GB, free: 4.238 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.004035/1.018, allocations: 0.9105 MB / 1.097 GB, free: 3.328 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/1.018, allocations: 9.281 kB / 1.097 GB, free: 3.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/1.018, allocations: 3.938 kB / 1.097 GB, free: 3.316 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/1.018, allocations: 179.6 kB / 1.097 GB, free: 3.102 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/1.018, allocations: 7 kB / 1.097 GB, free: 3.098 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/1.018, allocations: 5.922 kB / 1.097 GB, free: 3.094 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001183/1.018, allocations: 20 kB / 1.097 GB, free: 3.074 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/1.019, allocations: 37.7 kB / 1.097 GB, free: 3.031 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/1.019, allocations: 3.984 kB / 1.097 GB, free: 3.027 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/1.019, allocations: 5.156 kB / 1.097 GB, free: 3.023 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/1.019, allocations: 0 / 1.097 GB, free: 3.023 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007043/1.019, allocations: 285.4 kB / 1.098 GB, free: 2.707 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.854e-05/1.019, allocations: 38.48 kB / 1.098 GB, free: 2.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.755e-05/1.019, allocations: 16.86 kB / 1.098 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/1.02, allocations: 0 / 1.098 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/1.02, allocations: 30.56 kB / 1.098 GB, free: 2.602 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.154e-06/1.02, allocations: 0 / 1.098 GB, free: 2.602 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002101/1.02, allocations: 55.75 kB / 1.098 GB, free: 2.543 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/1.02, allocations: 55.34 kB / 1.098 GB, free: 2.477 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.593e-05/1.02, allocations: 101.2 kB / 1.098 GB, free: 2.367 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/1.02, allocations: 25.7 kB / 1.098 GB, free: 2.336 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/1.02, allocations: 92.03 kB / 1.098 GB, free: 2.242 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/1.02, allocations: 11.84 kB / 1.098 GB, free: 2.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/1.02, allocations: 0 / 1.098 GB, free: 2.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.02, allocations: 314.8 kB / 1.098 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.991e-05/1.02, allocations: 8 kB / 1.098 GB, free: 1.906 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.22e-05/1.02, allocations: 13.67 kB / 1.098 GB, free: 1.895 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.683e-05/1.02, allocations: 12 kB / 1.098 GB, free: 1.883 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.02, allocations: 0 / 1.098 GB, free: 1.883 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001433/1.021, allocations: 53.61 kB / 1.098 GB, free: 1.824 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/1.021, allocations: 4 kB / 1.098 GB, free: 1.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.021, allocations: 3.984 kB / 1.098 GB, free: 1.816 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/1.021, allocations: 0.9375 kB / 1.098 GB, free: 1.816 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/1.021, allocations: 27.92 kB / 1.098 GB, free: 1.789 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/1.021, allocations: 4.797 kB / 1.098 GB, free: 1.785 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/1.021, allocations: 23.89 kB / 1.098 GB, free: 1.762 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/1.021, allocations: 5.25 kB / 1.098 GB, free: 1.762 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 (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 7.877e-05/1.021, allocations: 108.8 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/1.021, allocations: 7.906 kB / 1.099 GB, free: 1.641 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/1.021, allocations: 7.984 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/1.021, allocations: 0 / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.021, allocations: 0 / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/1.021, allocations: 4 kB / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/1.021, allocations: 142.2 kB / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/1.021, allocations: 4 kB / 1.099 GB, free: 1.445 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/1.022, allocations: 27.97 kB / 1.099 GB, free: 1.418 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/1.022, allocations: 0.6562 kB / 1.099 GB, free: 1.418 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/1.022, allocations: 3.906 kB / 1.099 GB, free: 1.414 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/1.022, allocations: 0 / 1.099 GB, free: 1.414 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.022, allocations: 0 / 1.099 GB, free: 1.414 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001828/1.022, allocations: 155.4 kB / 1.099 GB, free: 1.246 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003115/1.022, allocations: 0.516 MB / 1.099 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/1.022, allocations: 81.11 kB / 1.099 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/1.022, allocations: 2.484 kB / 1.099 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/1.023, allocations: 23.89 kB / 1.1 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/1.023, allocations: 3.984 kB / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/1.023, allocations: 4 kB / 1.1 GB, free: 0.582 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.799e-05/1.023, allocations: 83.28 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001089/1.024, allocations: 8 kB / 1.1 GB, free: 0.4922 MB / 0.698 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.0001385/1.024, allocations: 99.25 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001303/1.024, allocations: 31.92 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.024, allocations: 2.062 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.895e-05/1.024, allocations: 12 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/1.024, allocations: 8.859 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003091/1.025, allocations: 79.08 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004088/1.025, allocations: 0.6993 MB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/1.025, allocations: 4 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1)