Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.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.IntegerVectorFilter,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter",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.376/1.376, allocations: 289.8 MB / 297.1 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.0009706/0.0009705, allocations: 181.3 kB / 366.3 MB, free: 1.938 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.11/1.11, allocations: 205.2 MB / 0.6256 GB, free: 5.781 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.0008074/0.0008074, allocations: 92.64 kB / 0.7396 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2051/0.2059, allocations: 122.4 MB / 0.8591 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4681/0.674, allocations: 116.3 MB / 0.9727 GB, free: 68.21 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/0.8125, allocations: 137.6 MB / 1.107 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001756/0.8127, allocations: 72.75 kB / 1.107 GB, free: 10.73 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.002577/0.8153, allocations: 0.9904 MB / 1.108 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.8153, allocations: 13.25 kB / 1.108 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.8154, allocations: 7.906 kB / 1.108 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.8156, allocations: 184.3 kB / 1.108 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.8156, allocations: 0.5312 kB / 1.108 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.8156, allocations: 4 kB / 1.108 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.686e-05/0.8157, allocations: 28.64 kB / 1.108 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.226e-05/0.8158, allocations: 75.62 kB / 1.108 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.8158, allocations: 0.5 kB / 1.108 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.8158, allocations: 0.6562 kB / 1.108 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.8158, allocations: 4 kB / 1.108 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.8161, allocations: 0.567 MB / 1.109 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.016e-05/0.8162, allocations: 165.9 kB / 1.109 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.855e-05/0.8162, allocations: 83.8 kB / 1.109 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.8163, allocations: 79.22 kB / 1.109 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.8163, allocations: 119.5 kB / 1.109 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.8163, allocations: 0 / 1.109 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.046e-05/0.8164, allocations: 26.45 kB / 1.109 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.8164, allocations: 51.41 kB / 1.109 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.184e-05/0.8165, allocations: 122.1 kB / 1.11 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.8165, allocations: 26.27 kB / 1.11 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.8166, allocations: 91.98 kB / 1.11 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-06/0.8166, allocations: 0 / 1.11 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-07/0.8166, allocations: 0 / 1.11 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.8167, allocations: 318.8 kB / 1.11 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.735e-06/0.8167, allocations: 0 / 1.11 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.285e-05/0.8167, allocations: 9.062 kB / 1.11 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.427e-05/0.8168, allocations: 79.31 kB / 1.11 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.727e-05/0.8168, allocations: 75.28 kB / 1.11 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.106e-05/0.8168, allocations: 33.61 kB / 1.11 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.886e-06/0.8169, allocations: 4 kB / 1.11 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.81e-05/0.8169, allocations: 79.28 kB / 1.11 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.611e-05/0.817, allocations: 158.5 kB / 1.11 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.101e-05/0.817, allocations: 75.28 kB / 1.11 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.055e-05/0.817, allocations: 154.6 kB / 1.111 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.097e-05/0.8171, allocations: 79.22 kB / 1.111 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.8171, allocations: 83.28 kB / 1.111 GB, free: 6.781 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 8.508e-05/0.8172, allocations: 252.8 kB / 1.111 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.8173, allocations: 110 kB / 1.111 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.568e-05/0.8173, allocations: 112.4 kB / 1.111 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.41e-05/0.8174, allocations: 184.8 kB / 1.111 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.974e-05/0.8174, allocations: 180.3 kB / 1.112 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.851e-05/0.8175, allocations: 184.2 kB / 1.112 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.8177, allocations: 403 kB / 1.112 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-05/0.8177, allocations: 101 kB / 1.112 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.586e-05/0.8177, allocations: 108.9 kB / 1.112 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.916e-05/0.8178, allocations: 184.2 kB / 1.112 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.475e-05/0.8178, allocations: 176.3 kB / 1.113 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.179e-05/0.8179, allocations: 180.2 kB / 1.113 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.199e-05/0.8179, allocations: 180.2 kB / 1.113 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.079e-05/0.818, allocations: 313.2 kB / 1.113 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001765/0.8182, allocations: 0.6759 MB / 1.114 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.8183, allocations: 182 kB / 1.114 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.124e-05/0.8183, allocations: 184.3 kB / 1.114 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.936e-05/0.8184, allocations: 109 kB / 1.114 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.8184, allocations: 184.1 kB / 1.115 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/0.8185, allocations: 101 kB / 1.115 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.757e-05/0.8185, allocations: 100.4 kB / 1.115 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007783/0.8193, allocations: 4 kB / 1.115 GB, free: 2.414 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.0001342/0.8194, allocations: 176.2 kB / 1.115 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 3.658e-05/0.8195, allocations: 0 / 1.115 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.8195, allocations: 0 / 1.115 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.356e-06/0.8195, allocations: 3.938 kB / 1.115 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.8198, allocations: 0.5244 MB / 1.115 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002333/0.82, allocations: 162.7 kB / 1.116 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.8202, allocations: 0.6997 MB / 1.116 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.8202, allocations: 0 / 1.116 GB, free: 0.7969 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1)