Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.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.Routing.Validation.RealVectorFilter,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",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.375/1.375, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.0009141/0.0009141, allocations: 169.3 kB / 366.3 MB, free: 1.984 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.077/1.077, allocations: 205.1 MB / 0.6256 GB, free: 5.816 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.0007735/0.0007736, allocations: 90.09 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2158/0.2167, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.482/0.6987, allocations: 116.3 MB / 0.9727 GB, free: 68.47 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1433/0.842, allocations: 137.6 MB / 1.107 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.8423, allocations: 76.72 kB / 1.107 GB, free: 10.88 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.002723/0.845, allocations: 1.009 MB / 1.108 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.8451, allocations: 12.5 kB / 1.108 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.8451, allocations: 4.469 kB / 1.108 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.8453, allocations: 181.1 kB / 1.108 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-06/0.8453, allocations: 0 / 1.108 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.8453, allocations: 4.531 kB / 1.108 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.781e-05/0.8454, allocations: 27.89 kB / 1.108 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.022e-05/0.8455, allocations: 77.34 kB / 1.108 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.8455, allocations: 0 / 1.108 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.8455, allocations: 0 / 1.108 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.8455, allocations: 4 kB / 1.108 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.8459, allocations: 0.5666 MB / 1.109 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.496e-05/0.846, allocations: 165.1 kB / 1.109 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/0.846, allocations: 83.86 kB / 1.109 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.8461, allocations: 75.28 kB / 1.109 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.8461, allocations: 117.8 kB / 1.109 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.8461, allocations: 4 kB / 1.109 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.004e-05/0.8462, allocations: 25.7 kB / 1.109 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.8462, allocations: 51.41 kB / 1.109 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.183e-05/0.8463, allocations: 114.2 kB / 1.11 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.8463, allocations: 25.7 kB / 1.11 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.8464, allocations: 91.98 kB / 1.11 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.323e-06/0.8464, allocations: 4 kB / 1.11 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-07/0.8464, allocations: 0 / 1.11 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.482e-05/0.8465, allocations: 322.7 kB / 1.11 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.375e-06/0.8465, allocations: 0 / 1.11 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.237e-05/0.8465, allocations: 5.5 kB / 1.11 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.575e-05/0.8465, allocations: 75.28 kB / 1.11 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.491e-05/0.8466, allocations: 75.28 kB / 1.11 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.85e-05/0.8466, allocations: 37.58 kB / 1.11 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.8467, allocations: 4 kB / 1.11 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/0.8467, allocations: 83.27 kB / 1.11 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.406e-05/0.8467, allocations: 158.6 kB / 1.11 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.444e-05/0.8468, allocations: 83.12 kB / 1.11 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-05/0.8468, allocations: 150.6 kB / 1.111 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.093e-05/0.8469, allocations: 75.28 kB / 1.111 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.8469, allocations: 79.22 kB / 1.111 GB, free: 6.918 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 (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.0001106/0.847, allocations: 255.5 kB / 1.111 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-05/0.8471, allocations: 112.9 kB / 1.111 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.037e-05/0.8472, allocations: 116.4 kB / 1.111 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-05/0.8472, allocations: 180.7 kB / 1.111 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.127e-05/0.8473, allocations: 176.3 kB / 1.112 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.202e-05/0.8473, allocations: 185.8 kB / 1.112 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.8475, allocations: 403 kB / 1.112 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.702e-05/0.8476, allocations: 101 kB / 1.112 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.081e-05/0.8476, allocations: 101 kB / 1.112 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.286e-05/0.8477, allocations: 180.2 kB / 1.112 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-05/0.8477, allocations: 184.3 kB / 1.113 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-05/0.8478, allocations: 184.2 kB / 1.113 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.964e-05/0.8479, allocations: 184.2 kB / 1.113 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001142/0.848, allocations: 296.2 kB / 1.113 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002051/0.8482, allocations: 0.6876 MB / 1.114 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.554e-05/0.8483, allocations: 182 kB / 1.114 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.078e-05/0.8483, allocations: 184.2 kB / 1.114 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.735e-05/0.8484, allocations: 105 kB / 1.114 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/0.8485, allocations: 180.3 kB / 1.115 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.8485, allocations: 104.9 kB / 1.115 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.533e-05/0.8485, allocations: 96.86 kB / 1.115 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008231/0.8494, allocations: 7.906 kB / 1.115 GB, free: 2.551 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.0001053/0.8495, allocations: 174.5 kB / 1.115 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 3.103e-05/0.8495, allocations: 0 / 1.115 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.8495, allocations: 0 / 1.115 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.01e-07/0.8495, allocations: 0 / 1.115 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.8498, allocations: 0.5373 MB / 1.115 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.85, allocations: 159 kB / 1.116 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.8503, allocations: 0.6997 MB / 1.116 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.8503, allocations: 0 / 1.116 GB, free: 0.9258 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1)