Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator",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.0.0/package.mo): time 2.117/2.117, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001586/0.001585, allocations: 185.2 kB / 360.3 MB, free: 7.543 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.64/1.64, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001154/0.001154, allocations: 89.05 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2502/0.2514, allocations: 121.4 MB / 0.8502 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5699/0.8213, allocations: 115.2 MB / 0.9628 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2085/1.03, allocations: 137.1 MB / 1.097 GB, free: 3.762 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/1.03, allocations: 72.66 kB / 1.097 GB, free: 3.691 MB / 0.698 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.008953/1.039, allocations: 1.86 MB / 1.099 GB, free: 1.836 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/1.039, allocations: 12.77 kB / 1.099 GB, free: 1.824 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.602e-05/1.039, allocations: 7.906 kB / 1.099 GB, free: 1.816 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/1.039, allocations: 183.6 kB / 1.099 GB, free: 1.598 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/1.039, allocations: 4 kB / 1.099 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/1.04, allocations: 4.531 kB / 1.099 GB, free: 1.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.754e-05/1.04, allocations: 12.61 kB / 1.099 GB, free: 1.578 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.064e-05/1.04, allocations: 41.64 kB / 1.099 GB, free: 1.531 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/1.04, allocations: 5.188 kB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/1.04, allocations: 4.875 kB / 1.099 GB, free: 1.523 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/1.04, allocations: 0.875 kB / 1.099 GB, free: 1.523 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/1.04, allocations: 279.5 kB / 1.099 GB, free: 1.215 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.975e-05/1.04, allocations: 21.67 kB / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.603e-05/1.04, allocations: 12.92 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.589e-06/1.04, allocations: 3.938 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.669e-05/1.04, allocations: 56.39 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.814e-06/1.04, allocations: 0 / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001748/1.041, allocations: 45.69 kB / 1.099 GB, free: 1.051 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/1.041, allocations: 54.03 kB / 1.099 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.026e-05/1.041, allocations: 99.31 kB / 1.099 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/1.041, allocations: 33.7 kB / 1.099 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/1.041, allocations: 88.05 kB / 1.099 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/1.041, allocations: 7.891 kB / 1.099 GB, free: 0.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.922e-05/1.041, allocations: 4 kB / 1.099 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.041, allocations: 314.8 kB / 1.1 GB, free: 440 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/1.041, allocations: 24 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/1.041, allocations: 50.5 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/1.042, allocations: 31.97 kB / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/1.042, allocations: 0 / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004894/1.042, allocations: 118.1 kB / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.042, allocations: 7.984 kB / 1.1 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.042, allocations: 0 / 1.1 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/1.042, allocations: 4 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.933e-05/1.042, allocations: 4.094 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/1.042, allocations: 0 / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003412/1.043, allocations: 39.97 kB / 1.1 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/1.043, allocations: 4 kB / 1.1 GB, free: 140 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001062/1.043, allocations: 108.8 kB / 1.1 GB, free: 24 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/1.043, allocations: 7.891 kB / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.226e-05/1.043, allocations: 8.844 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.043, allocations: 0 / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.043, allocations: 0 / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.043, allocations: 0 / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/1.043, allocations: 154.1 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/1.043, allocations: 0 / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.434e-06/1.043, allocations: 0 / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/1.043, allocations: 2.344 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/1.043, allocations: 3.984 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/1.043, allocations: 7.875 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.043, allocations: 0 / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001287/1.043, allocations: 76.73 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002717/1.044, allocations: 454.1 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/1.044, allocations: 81.11 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/1.044, allocations: 0 / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.271e-05/1.044, allocations: 3.984 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/1.044, allocations: 0.6562 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/1.044, allocations: 4 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.819e-05/1.044, allocations: 89.12 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001114/1.045, allocations: 27.94 kB / 1.101 GB, free: 15.03 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001816/1.045, allocations: 103.2 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002644/1.046, allocations: 77.69 kB / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.046, allocations: 0 / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.15e-05/1.046, allocations: 13.86 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/1.046, allocations: 4.859 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/1.046, allocations: 76.77 kB / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003488/1.047, allocations: 0.6954 MB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of SimCode: time 7.81e-07/1.047, allocations: 0 / 1.102 GB, free: 14.01 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)