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.Conversions.Validation.BooleanToInteger.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.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",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.254/4.254, allocations: 433 MB / 440.3 MB, free: 4.754 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5644/4.819, allocations: 104.3 MB / 0.5319 GB, free: 13.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/5.072, allocations: 98.73 MB / 0.6283 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.267/5.339, allocations: 123.5 MB / 0.7489 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003882/5.34, allocations: 67.61 kB / 0.749 GB, free: 14.02 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.003956/5.344, allocations: 0.6974 MB / 0.7497 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/5.344, allocations: 8 kB / 0.7497 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/5.344, allocations: 4 kB / 0.7497 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/5.344, allocations: 170.9 kB / 0.7498 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/5.344, allocations: 4 kB / 0.7498 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/5.344, allocations: 0 / 0.7498 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001087/5.344, allocations: 15.98 kB / 0.7498 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/5.344, allocations: 37.64 kB / 0.7499 GB, free: 13 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/5.345, allocations: 0 / 0.7499 GB, free: 13 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/5.345, allocations: 8 kB / 0.7499 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/5.345, allocations: 3.906 kB / 0.7499 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004989/5.345, allocations: 225.5 kB / 0.7501 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/5.345, allocations: 34.61 kB / 0.7501 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.582e-05/5.345, allocations: 16.91 kB / 0.7502 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/5.346, allocations: 0 / 0.7502 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/5.346, allocations: 59.33 kB / 0.7502 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 4.058e-06/5.346, allocations: 0 / 0.7502 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002566/5.346, allocations: 45.69 kB / 0.7503 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/5.346, allocations: 55.34 kB / 0.7503 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/5.346, allocations: 101 kB / 0.7504 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/5.346, allocations: 25.7 kB / 0.7504 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/5.346, allocations: 84.14 kB / 0.7505 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/5.346, allocations: 11.91 kB / 0.7505 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/5.346, allocations: 0 / 0.7505 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001787/5.347, allocations: 322.7 kB / 0.7508 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.533e-05/5.347, allocations: 4 kB / 0.7508 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.308e-05/5.347, allocations: 21.72 kB / 0.7509 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.839e-05/5.347, allocations: 8 kB / 0.7509 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/5.347, allocations: 3.938 kB / 0.7509 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002031/5.347, allocations: 53.62 kB / 0.7509 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/5.347, allocations: 8.031 kB / 0.7509 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/5.347, allocations: 0 / 0.7509 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/5.347, allocations: 3.906 kB / 0.7509 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.032e-05/5.347, allocations: 4 kB / 0.7509 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/5.347, allocations: 0 / 0.7509 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/5.348, allocations: 11.98 kB / 0.7509 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/5.348, allocations: 0 / 0.7509 GB, free: 11.79 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: 5 ($whenCondition1,booToInt.y,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.000144/5.348, allocations: 109 kB / 0.7511 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/5.348, allocations: 3.906 kB / 0.7511 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.848e-05/5.348, allocations: 11.94 kB / 0.7511 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/5.348, allocations: 4 kB / 0.7511 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/5.348, allocations: 96 / 0.7511 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/5.348, allocations: 3.984 kB / 0.7511 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/5.348, allocations: 138.2 kB / 0.7512 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/5.348, allocations: 0 / 0.7512 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.097e-05/5.348, allocations: 7.906 kB / 0.7512 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/5.348, allocations: 0 / 0.7512 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/5.348, allocations: 4 kB / 0.7512 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/5.348, allocations: 3.938 kB / 0.7512 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/5.348, allocations: 0 / 0.7512 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002322/5.349, allocations: 77.03 kB / 0.7513 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003984/5.349, allocations: 453.4 kB / 0.7517 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-05/5.349, allocations: 81.11 kB / 0.7518 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/5.349, allocations: 0 / 0.7518 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/5.349, allocations: 16.36 kB / 0.7518 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/5.35, allocations: 0 / 0.7518 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/5.35, allocations: 4 kB / 0.7518 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.101e-05/5.35, allocations: 95.12 kB / 0.7519 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001795/5.351, allocations: 7.984 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: 4 ($whenCondition1,booToInt.y,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.000218/5.352, allocations: 103.2 kB / 0.752 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002183/5.352, allocations: 20 kB / 0.752 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/5.352, allocations: 0 / 0.752 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.645e-05/5.352, allocations: 12 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.0003994/5.353, allocations: 7.984 kB / 0.7521 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004669/5.353, allocations: 79.64 kB / 0.7521 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004666/5.354, allocations: 0.6916 MB / 0.7528 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of SimCode: time 5.972e-06/5.354, allocations: 0 / 0.7528 GB, free: 9.719 MB / 0.6355 GB