Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Continuous.Validation.Add,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.402/1.402, allocations: 289.8 MB / 297 MB, free: 6.676 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.0009309/0.0009311, allocations: 177.4 kB / 366.3 MB, free: 1.953 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.101/1.101, allocations: 205.2 MB / 0.6256 GB, free: 5.797 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.0008399/0.0008399, allocations: 79.2 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1944/0.1953, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4418/0.6371, allocations: 116.3 MB / 0.9727 GB, free: 67.95 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1456/0.7828, allocations: 137.7 MB / 1.107 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.783, allocations: 68.55 kB / 1.107 GB, free: 10.68 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.002639/0.7857, allocations: 0.9126 MB / 1.108 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.7858, allocations: 12 kB / 1.108 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.7858, allocations: 4.625 kB / 1.108 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.786, allocations: 176.3 kB / 1.108 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.786, allocations: 0 / 1.108 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.786, allocations: 4 kB / 1.108 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.361e-05/0.7861, allocations: 15.94 kB / 1.108 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.595e-05/0.7862, allocations: 50.44 kB / 1.108 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-06/0.7862, allocations: 0 / 1.108 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.7862, allocations: 3.906 kB / 1.108 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.7862, allocations: 4 kB / 1.108 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.7867, allocations: 281.5 kB / 1.109 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.921e-05/0.7868, allocations: 34.48 kB / 1.109 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.654e-05/0.7868, allocations: 24.8 kB / 1.109 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.7868, allocations: 0 / 1.109 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.7869, allocations: 33.81 kB / 1.109 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.7869, allocations: 0 / 1.109 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001613/0.787, allocations: 51.47 kB / 1.109 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.7871, allocations: 55.41 kB / 1.109 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.515e-05/0.7871, allocations: 97.19 kB / 1.109 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.7872, allocations: 29.69 kB / 1.109 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.302e-05/0.7872, allocations: 92.05 kB / 1.109 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.7872, allocations: 11.84 kB / 1.109 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-06/0.7872, allocations: 0 / 1.109 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.7873, allocations: 314.8 kB / 1.109 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.33e-05/0.7874, allocations: 10.25 kB / 1.109 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.14e-05/0.7874, allocations: 12 kB / 1.109 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.299e-05/0.7874, allocations: 11.94 kB / 1.109 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.7874, allocations: 0 / 1.109 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.715e-05/0.7875, allocations: 53.59 kB / 1.109 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.7876, allocations: 12 kB / 1.109 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.7876, allocations: 0 / 1.109 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.7876, allocations: 0 / 1.109 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.7877, allocations: 19.98 kB / 1.109 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.7877, allocations: 3.938 kB / 1.109 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.452e-05/0.7878, allocations: 27.89 kB / 1.109 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.7879, allocations: 0 / 1.109 GB, free: 8.172 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 5.856e-05/0.7879, allocations: 101 kB / 1.11 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.788, allocations: 7.906 kB / 1.11 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.788, allocations: 15.98 kB / 1.11 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.788, allocations: 0 / 1.11 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.788, allocations: 0.875 kB / 1.11 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.788, allocations: 0 / 1.11 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.7882, allocations: 142.2 kB / 1.11 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7882, allocations: 0 / 1.11 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.7883, allocations: 31.91 kB / 1.11 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.7883, allocations: 4.188 kB / 1.11 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.7883, allocations: 4.781 kB / 1.11 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7883, allocations: 0 / 1.11 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7883, allocations: 0.9375 kB / 1.11 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001306/0.7885, allocations: 155.4 kB / 1.11 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002166/0.7887, allocations: 0.5155 MB / 1.11 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.7887, allocations: 77.11 kB / 1.11 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.7888, allocations: 0.75 kB / 1.11 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.7889, allocations: 31.83 kB / 1.111 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.7889, allocations: 3.984 kB / 1.111 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.7889, allocations: 0 / 1.111 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.03e-05/0.789, allocations: 89.91 kB / 1.111 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000814/0.7898, allocations: 8 kB / 1.111 GB, free: 6.891 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.0001211/0.7899, allocations: 95.25 kB / 1.111 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.384e-05/0.79, allocations: 27.98 kB / 1.111 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.79, allocations: 4 kB / 1.111 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.257e-05/0.7901, allocations: 16 kB / 1.111 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.7902, allocations: 4 kB / 1.111 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002264/0.7905, allocations: 85.44 kB / 1.111 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/0.7908, allocations: 0.6993 MB / 1.112 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.7908, allocations: 0 / 1.112 GB, free: 5.914 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1)