Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 4.112/4.112, allocations: 433 MB / 440.3 MB, free: 4.797 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5995/4.712, allocations: 104.3 MB / 0.5319 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/4.945, allocations: 98.72 MB / 0.6283 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2386/5.184, allocations: 123.5 MB / 0.7489 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/5.184, allocations: 71.59 kB / 0.749 GB, free: 14.03 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.003359/5.187, allocations: 0.702 MB / 0.7497 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/5.187, allocations: 8 kB / 0.7497 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/5.187, allocations: 7.906 kB / 0.7497 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/5.188, allocations: 178.9 kB / 0.7498 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/5.188, allocations: 0 / 0.7498 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/5.188, allocations: 4 kB / 0.7498 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.988e-05/5.188, allocations: 12 kB / 0.7499 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/5.188, allocations: 41.69 kB / 0.7499 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/5.188, allocations: 8 kB / 0.7499 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/5.188, allocations: 3.906 kB / 0.7499 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/5.188, allocations: 0 / 0.7499 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/5.189, allocations: 261.4 kB / 0.7502 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.897e-05/5.189, allocations: 30.56 kB / 0.7502 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.859e-05/5.189, allocations: 8.922 kB / 0.7502 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/5.189, allocations: 0 / 0.7502 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.567e-05/5.189, allocations: 43.42 kB / 0.7502 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.225e-06/5.189, allocations: 0 / 0.7502 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001906/5.189, allocations: 53.62 kB / 0.7503 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/5.189, allocations: 51.41 kB / 0.7503 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/5.189, allocations: 104.9 kB / 0.7504 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/5.189, allocations: 29.64 kB / 0.7505 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/5.19, allocations: 84.14 kB / 0.7505 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/5.19, allocations: 7.906 kB / 0.7506 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/5.19, allocations: 0 / 0.7506 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000146/5.19, allocations: 314.8 kB / 0.7509 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.718e-05/5.19, allocations: 11.98 kB / 0.7509 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.017e-05/5.19, allocations: 17.72 kB / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.225e-05/5.19, allocations: 4 kB / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/5.19, allocations: 0 / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001556/5.19, allocations: 61.59 kB / 0.7509 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/5.19, allocations: 8 kB / 0.751 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/5.19, allocations: 0 / 0.751 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/5.19, allocations: 0 / 0.751 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.622e-05/5.19, allocations: 4.031 kB / 0.751 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/5.19, allocations: 4 kB / 0.751 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/5.19, allocations: 7.984 kB / 0.751 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/5.19, allocations: 4 kB / 0.751 GB, free: 11.77 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 0.0001007/5.191, allocations: 104.9 kB / 0.7511 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/5.191, allocations: 4 kB / 0.7511 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.677e-05/5.191, allocations: 7.688 kB / 0.7511 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/5.191, allocations: 4 kB / 0.7511 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/5.191, allocations: 0 / 0.7511 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/5.191, allocations: 0 / 0.7511 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/5.191, allocations: 146.1 kB / 0.7512 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/5.191, allocations: 3.938 kB / 0.7512 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.929e-06/5.191, allocations: 0 / 0.7512 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/5.191, allocations: 0 / 0.7512 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/5.191, allocations: 0 / 0.7512 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/5.191, allocations: 0 / 0.7512 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/5.191, allocations: 4 kB / 0.7512 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001493/5.191, allocations: 73.03 kB / 0.7513 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003482/5.191, allocations: 453.4 kB / 0.7517 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/5.192, allocations: 81.05 kB / 0.7518 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/5.192, allocations: 256 / 0.7518 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/5.192, allocations: 16 kB / 0.7518 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/5.192, allocations: 7.922 kB / 0.7518 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/5.192, allocations: 7.906 kB / 0.7518 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.296e-05/5.192, allocations: 83.28 kB / 0.7519 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001845/5.194, allocations: 4 kB / 0.7519 GB, free: 10.68 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 0.000164/5.194, allocations: 103.2 kB / 0.752 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001213/5.194, allocations: 16 kB / 0.752 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/5.194, allocations: 4.062 kB / 0.752 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.736e-05/5.194, allocations: 11.94 kB / 0.7521 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/5.194, allocations: 7.984 kB / 0.7521 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/5.195, allocations: 71.72 kB / 0.7521 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003815/5.195, allocations: 0.6915 MB / 0.7528 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of SimCode: time 9.42e-07/5.195, allocations: 0 / 0.7528 GB, free: 9.723 MB / 0.6355 GB