Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.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.BooleanReplicator,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.353/1.353, allocations: 289.8 MB / 297.1 MB, free: 6.719 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.0009441/0.0009441, allocations: 173.3 kB / 366.3 MB, free: 1.996 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.095/1.095, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0008078/0.0008076, allocations: 85.36 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2076/0.2084, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4814/0.6898, allocations: 116.3 MB / 0.9727 GB, free: 68.3 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1411/0.8309, allocations: 138.2 MB / 1.108 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001841/0.8311, allocations: 72.55 kB / 1.108 GB, free: 10.22 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.005113/0.8363, allocations: 1.861 MB / 1.11 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.8363, allocations: 8 kB / 1.11 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.8363, allocations: 10.25 kB / 1.11 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.8365, allocations: 187 kB / 1.11 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.8365, allocations: 4 kB / 1.11 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.8366, allocations: 8 kB / 1.11 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.591e-05/0.8366, allocations: 4 kB / 1.11 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.93e-05/0.8367, allocations: 41.69 kB / 1.11 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.8367, allocations: 0 / 1.11 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.8367, allocations: 3.938 kB / 1.11 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.8367, allocations: 4 kB / 1.11 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000282/0.837, allocations: 285.4 kB / 1.11 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.225e-05/0.837, allocations: 25.11 kB / 1.11 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.606e-05/0.8371, allocations: 8.922 kB / 1.11 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.51e-06/0.8371, allocations: 0 / 1.11 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/0.8371, allocations: 59.23 kB / 1.11 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.8371, allocations: 0 / 1.11 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001208/0.8373, allocations: 49.69 kB / 1.11 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.8373, allocations: 55.41 kB / 1.11 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.412e-05/0.8374, allocations: 101 kB / 1.11 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.8374, allocations: 25.7 kB / 1.11 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.8374, allocations: 92.05 kB / 1.11 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.785e-06/0.8374, allocations: 3.906 kB / 1.11 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.8375, allocations: 4 kB / 1.11 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.546e-05/0.8376, allocations: 314.8 kB / 1.111 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.582e-05/0.8376, allocations: 23.98 kB / 1.111 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.109e-05/0.8377, allocations: 46.58 kB / 1.111 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.8379, allocations: 41.77 kB / 1.111 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.8379, allocations: 0 / 1.111 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000262/0.8381, allocations: 109.5 kB / 1.111 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.8382, allocations: 8.094 kB / 1.111 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.8382, allocations: 0 / 1.111 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.8382, allocations: 4 kB / 1.111 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.416e-05/0.8382, allocations: 7.938 kB / 1.111 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.8382, allocations: 0 / 1.111 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.8384, allocations: 39.97 kB / 1.111 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.8384, allocations: 7.984 kB / 1.111 GB, free: 6.613 MB / 0.7136 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 5.881e-05/0.8385, allocations: 105 kB / 1.111 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.8385, allocations: 3.906 kB / 1.111 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.8385, allocations: 8 kB / 1.111 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.8385, allocations: 4.312 kB / 1.111 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.8385, allocations: 0 / 1.111 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.8386, allocations: 0 / 1.111 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.528e-05/0.8386, allocations: 146.1 kB / 1.111 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.8387, allocations: 0 / 1.111 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-06/0.8387, allocations: 4 kB / 1.111 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.8387, allocations: 0 / 1.111 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.8387, allocations: 0.8438 kB / 1.111 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.8387, allocations: 3.938 kB / 1.111 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.8387, allocations: 0 / 1.111 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.272e-05/0.8388, allocations: 80.97 kB / 1.111 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000175/0.839, allocations: 453.4 kB / 1.112 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.044e-05/0.839, allocations: 81.09 kB / 1.112 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.839, allocations: 4 kB / 1.112 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.353e-05/0.839, allocations: 0 / 1.112 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.088e-05/0.8391, allocations: 4 kB / 1.112 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.8391, allocations: 1.875 kB / 1.112 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.226e-05/0.8391, allocations: 91.17 kB / 1.112 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007308/0.8398, allocations: 20 kB / 1.112 GB, free: 5.512 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.0001392/0.84, allocations: 115.1 kB / 1.112 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001391/0.8401, allocations: 73.69 kB / 1.112 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.8401, allocations: 0 / 1.112 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.432e-05/0.8402, allocations: 16.38 kB / 1.112 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.8403, allocations: 13.55 kB / 1.112 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001746/0.8405, allocations: 67.72 kB / 1.112 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.8407, allocations: 0.6955 MB / 1.113 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.8407, allocations: 0 / 1.113 GB, free: 4.48 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)