Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.IntegerVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",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.377/1.377, allocations: 289.8 MB / 297.1 MB, free: 6.734 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.001041/0.001041, allocations: 185.3 kB / 366.3 MB, free: 1.992 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.2 MB / 0.6256 GB, free: 7.461 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.0008354/0.0008354, allocations: 91.69 kB / 0.7395 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2013/0.2022, allocations: 122.4 MB / 0.8591 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4795/0.6817, allocations: 116.3 MB / 0.9727 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1398/0.8216, allocations: 137.9 MB / 1.107 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.8218, allocations: 66.42 kB / 1.107 GB, free: 12.49 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.003848/0.8257, allocations: 1.334 MB / 1.109 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.8257, allocations: 8.781 kB / 1.109 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.8258, allocations: 7.906 kB / 1.109 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.826, allocations: 195.5 kB / 1.109 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.826, allocations: 0 / 1.109 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.826, allocations: 4.688 kB / 1.109 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001499/0.8262, allocations: 99.86 kB / 1.109 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.8263, allocations: 128.4 kB / 1.109 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.8263, allocations: 0.5938 kB / 1.109 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.8264, allocations: 0.9375 kB / 1.109 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.8264, allocations: 4.594 kB / 1.109 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004625/0.8268, allocations: 413.1 kB / 1.11 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.827, allocations: 93.11 kB / 1.11 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.803e-05/0.827, allocations: 45.75 kB / 1.11 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.827, allocations: 0 / 1.11 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.8271, allocations: 35.94 kB / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.8271, allocations: 0 / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002263/0.8273, allocations: 105.5 kB / 1.11 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.8273, allocations: 81.17 kB / 1.11 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.654e-05/0.8274, allocations: 114.8 kB / 1.11 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.8275, allocations: 25.7 kB / 1.11 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.8275, allocations: 96.03 kB / 1.11 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.8275, allocations: 11.81 kB / 1.11 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.8275, allocations: 0 / 1.11 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.432e-05/0.8276, allocations: 317.4 kB / 1.11 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.771e-05/0.8277, allocations: 39.91 kB / 1.11 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.984e-05/0.8277, allocations: 50.44 kB / 1.11 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.603e-05/0.8278, allocations: 31.97 kB / 1.111 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8278, allocations: 4 kB / 1.111 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001526/0.828, allocations: 101.5 kB / 1.111 GB, free: 9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.828, allocations: 8 kB / 1.111 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.828, allocations: 0 / 1.111 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.828, allocations: 0 / 1.111 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.8282, allocations: 32.03 kB / 1.111 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.8282, allocations: 2.141 kB / 1.111 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.8285, allocations: 27.97 kB / 1.111 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.8285, allocations: 8 kB / 1.111 GB, free: 8.926 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.u[1],intRep.u[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.027e-05/0.8286, allocations: 101 kB / 1.111 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.8286, allocations: 7.906 kB / 1.111 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.8287, allocations: 3.625 kB / 1.111 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.8287, allocations: 0 / 1.111 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.8287, allocations: 7.984 kB / 1.111 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.8287, allocations: 7.906 kB / 1.111 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.8289, allocations: 171.6 kB / 1.111 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.8289, allocations: 0 / 1.111 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.8291, allocations: 31.91 kB / 1.111 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.8291, allocations: 0.75 kB / 1.111 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.8292, allocations: 7.984 kB / 1.111 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.8292, allocations: 4 kB / 1.111 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.8292, allocations: 0 / 1.111 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002082/0.8294, allocations: 288.4 kB / 1.111 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003633/0.8298, allocations: 0.6582 MB / 1.112 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.171e-05/0.8298, allocations: 77.11 kB / 1.112 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.8298, allocations: 3.906 kB / 1.112 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.8301, allocations: 29.56 kB / 1.112 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/0.8301, allocations: 23.91 kB / 1.112 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.8301, allocations: 4 kB / 1.112 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.472e-05/0.8302, allocations: 91.27 kB / 1.112 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008595/0.8311, allocations: 27.84 kB / 1.112 GB, free: 7.285 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.u[1],intRep.u[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001179/0.8312, allocations: 103.2 kB / 1.112 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00015/0.8313, allocations: 87.86 kB / 1.112 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8314, allocations: 0 / 1.112 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.615e-05/0.8314, allocations: 56.52 kB / 1.112 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.8317, allocations: 12.92 kB / 1.112 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003701/0.8321, allocations: 136.4 kB / 1.113 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000322/0.8324, allocations: 0.7194 MB / 1.113 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of SimCode: time 5.51e-07/0.8324, allocations: 0 / 1.113 GB, free: 6.117 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1)