Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.268/1.268, allocations: 249.4 MB / 256.7 MB, free: 7.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000958/0.000958, allocations: 191.3 kB / 316 MB, free: 3.516 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.191/1.191, allocations: 205.2 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000777/0.0007771, allocations: 86.38 kB / 0.671 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3074/0.3083, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.4543, allocations: 106.3 MB / 0.8847 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4427/0.8971, allocations: 131.7 MB / 1.013 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.8973, allocations: 71.45 kB / 1.013 GB, free: 7.023 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001868/0.8992, allocations: 0.7113 MB / 1.014 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.8992, allocations: 12 kB / 1.014 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.8993, allocations: 3.906 kB / 1.014 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.8994, allocations: 174.6 kB / 1.014 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.8995, allocations: 0 / 1.014 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.8995, allocations: 0 / 1.014 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.554e-05/0.8996, allocations: 11.62 kB / 1.014 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.646e-05/0.8996, allocations: 49.12 kB / 1.014 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.8997, allocations: 0.8438 kB / 1.014 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.8997, allocations: 3.906 kB / 1.014 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.8997, allocations: 0 / 1.014 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.9, allocations: 256 kB / 1.014 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.442e-05/0.9001, allocations: 34.06 kB / 1.015 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.045e-05/0.9001, allocations: 4.859 kB / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.9001, allocations: 6.797 kB / 1.015 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.502e-05/0.9002, allocations: 53.16 kB / 1.015 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.9002, allocations: 0 / 1.015 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001129/0.9003, allocations: 45.27 kB / 1.015 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.9004, allocations: 51.41 kB / 1.015 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.863e-05/0.9004, allocations: 107.9 kB / 1.015 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.9005, allocations: 29.7 kB / 1.015 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.781e-05/0.9005, allocations: 80.14 kB / 1.015 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.081e-05/0.9005, allocations: 3.906 kB / 1.015 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/0.9005, allocations: 0 / 1.015 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.357e-05/0.9006, allocations: 322.4 kB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/0.9006, allocations: 4 kB / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.308e-05/0.9007, allocations: 17.03 kB / 1.015 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.844e-05/0.9007, allocations: 15.44 kB / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.9007, allocations: 0 / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.896e-05/0.9008, allocations: 48.72 kB / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.9008, allocations: 4 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.9008, allocations: 4 kB / 1.015 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-06/0.9008, allocations: 0 / 1.015 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.589e-05/0.9008, allocations: 0 / 1.015 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.9008, allocations: 4 kB / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.722e-05/0.9009, allocations: 12.02 kB / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.9009, allocations: 3.938 kB / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booRep.y[3],$PRE.booPul.pulseStart,booPul.pulseStart) * 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 5.364e-05/0.901, allocations: 112.8 kB / 1.015 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-06/0.901, allocations: 0 / 1.015 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.901, allocations: 11.44 kB / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.901, allocations: 3.984 kB / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.901, allocations: 3.984 kB / 1.015 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.9011, allocations: 0 / 1.015 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.9012, allocations: 145.7 kB / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.9012, allocations: 4.625 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-06/0.9012, allocations: 0 / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.9012, allocations: 0 / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.9012, allocations: 0 / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.9012, allocations: 0.6875 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.9012, allocations: 0 / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.172e-05/0.9013, allocations: 75.89 kB / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001403/0.9014, allocations: 456.9 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/0.9015, allocations: 77.11 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.9015, allocations: 256 / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.6e-05/0.9015, allocations: 19.55 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.9016, allocations: 3.938 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.9016, allocations: 0 / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.197e-05/0.9016, allocations: 94.5 kB / 1.016 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007127/0.9023, allocations: 4 kB / 1.016 GB, free: 3.809 MB / 0.6355 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,booRep.y[3],booPul.pulseStart) * 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 9.196e-05/0.9024, allocations: 101.8 kB / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.345e-05/0.9025, allocations: 18.94 kB / 1.016 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.9025, allocations: 0 / 1.016 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.513e-05/0.9025, allocations: 10.56 kB / 1.016 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.9027, allocations: 14.61 kB / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001804/0.9029, allocations: 66.67 kB / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.9031, allocations: 0.6876 MB / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/0.9031, allocations: 0 / 1.017 GB, free: 2.871 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)