Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.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.Abs,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs",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.418/1.418, allocations: 289.8 MB / 297 MB, free: 6.621 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.00111/0.00111, allocations: 197.2 kB / 366.3 MB, free: 1.934 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.1/1.1, allocations: 205.1 MB / 0.6256 GB, free: 5.77 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.0009009/0.0009009, allocations: 85.94 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1922/0.1931, allocations: 122.4 MB / 0.8591 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4505/0.6436, allocations: 116.3 MB / 0.9727 GB, free: 68.11 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1425/0.7862, allocations: 137.7 MB / 1.107 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001772/0.7864, allocations: 71.89 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002869/0.7893, allocations: 1.07 MB / 1.108 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.7893, allocations: 8 kB / 1.108 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.7894, allocations: 3.906 kB / 1.108 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.7895, allocations: 163.1 kB / 1.108 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.7895, allocations: 1.781 kB / 1.108 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.7896, allocations: 4 kB / 1.108 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.611e-05/0.7896, allocations: 11.98 kB / 1.108 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.267e-05/0.7897, allocations: 33.7 kB / 1.108 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.7897, allocations: 0 / 1.108 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.7897, allocations: 7.891 kB / 1.108 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.7897, allocations: 0 / 1.108 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.7902, allocations: 249.5 kB / 1.109 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.207e-05/0.7902, allocations: 26.58 kB / 1.109 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.23e-05/0.7902, allocations: 4.859 kB / 1.109 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.7903, allocations: 4.062 kB / 1.109 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.7903, allocations: 38.47 kB / 1.109 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.7903, allocations: 0 / 1.109 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001321/0.7904, allocations: 37.7 kB / 1.109 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.7905, allocations: 55.34 kB / 1.109 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.7e-05/0.7906, allocations: 96.98 kB / 1.109 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.7906, allocations: 25.7 kB / 1.109 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.085e-05/0.7906, allocations: 80.14 kB / 1.109 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.7906, allocations: 7.906 kB / 1.109 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-06/0.7906, allocations: 6.375 kB / 1.109 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.541e-05/0.7907, allocations: 314.8 kB / 1.109 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.7908, allocations: 7.938 kB / 1.109 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.104e-05/0.7908, allocations: 4 kB / 1.109 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.701e-05/0.7908, allocations: 7.984 kB / 1.109 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.7908, allocations: 0 / 1.109 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.504e-05/0.7909, allocations: 41.61 kB / 1.109 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.7909, allocations: 8 kB / 1.109 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.7909, allocations: 4.094 kB / 1.109 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.7909, allocations: 0 / 1.109 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.551e-05/0.791, allocations: 11.98 kB / 1.109 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.791, allocations: 0 / 1.109 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.649e-05/0.7911, allocations: 11.98 kB / 1.109 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.7911, allocations: 4 kB / 1.109 GB, free: 8.176 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 (2): * Single equations (assignments): 2 * 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.868e-05/0.7912, allocations: 115.4 kB / 1.11 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.7912, allocations: 0 / 1.11 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.7912, allocations: 3.312 kB / 1.11 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.7912, allocations: 0 / 1.11 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.7913, allocations: 0 / 1.11 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.7913, allocations: 0 / 1.11 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.7914, allocations: 138.1 kB / 1.11 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.7914, allocations: 4 kB / 1.11 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.969e-05/0.7915, allocations: 19.98 kB / 1.11 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.7915, allocations: 0 / 1.11 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.7915, allocations: 0 / 1.11 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7915, allocations: 0.5625 kB / 1.11 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7915, allocations: 0 / 1.11 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001039/0.7916, allocations: 142.2 kB / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001984/0.7918, allocations: 0.5116 MB / 1.11 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/0.7919, allocations: 81.02 kB / 1.11 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.7919, allocations: 0 / 1.11 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.276e-05/0.792, allocations: 12.64 kB / 1.11 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.792, allocations: 4.031 kB / 1.11 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.792, allocations: 0 / 1.11 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.403e-05/0.7921, allocations: 83.28 kB / 1.111 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000753/0.7928, allocations: 4 kB / 1.111 GB, free: 6.973 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 (2): * Single equations (assignments): 2 * 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.000127/0.793, allocations: 103.1 kB / 1.111 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.013e-05/0.7931, allocations: 12 kB / 1.111 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.7931, allocations: 8.969 kB / 1.111 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-05/0.7931, allocations: 12 kB / 1.111 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.7933, allocations: 4.625 kB / 1.111 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002119/0.7935, allocations: 55.92 kB / 1.111 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.7938, allocations: 0.688 MB / 1.111 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of SimCode: time 2.8e-07/0.7938, allocations: 0 / 1.111 GB, free: 6.031 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe 2>&1)