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.BooleanToReal.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.BooleanToReal,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",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.244/4.244, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5293/4.773, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/5.019, allocations: 98.72 MB / 0.6283 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2384/5.258, allocations: 123.5 MB / 0.7489 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/5.258, allocations: 71.59 kB / 0.749 GB, free: 14.07 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.002686/5.261, allocations: 0.6934 MB / 0.7497 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/5.261, allocations: 12 kB / 0.7497 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/5.261, allocations: 0 / 0.7497 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/5.261, allocations: 175 kB / 0.7498 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/5.261, allocations: 0 / 0.7498 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/5.261, allocations: 4 kB / 0.7498 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.726e-05/5.261, allocations: 8 kB / 0.7498 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.413e-05/5.262, allocations: 41.69 kB / 0.7499 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/5.262, allocations: 3.938 kB / 0.7499 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/5.262, allocations: 4 kB / 0.7499 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/5.262, allocations: 7.844 kB / 0.7499 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/5.262, allocations: 221.5 kB / 0.7501 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/5.262, allocations: 38.61 kB / 0.7501 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.66e-05/5.262, allocations: 8.922 kB / 0.7502 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/5.262, allocations: 4 kB / 0.7502 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.83e-05/5.262, allocations: 55.41 kB / 0.7502 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 3.657e-06/5.262, allocations: 0 / 0.7502 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001585/5.262, allocations: 49.62 kB / 0.7503 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/5.263, allocations: 59.41 kB / 0.7503 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.018e-05/5.263, allocations: 93 kB / 0.7504 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/5.263, allocations: 25.7 kB / 0.7504 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/5.263, allocations: 88.14 kB / 0.7505 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/5.263, allocations: 7.812 kB / 0.7505 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-06/5.263, allocations: 0 / 0.7505 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001275/5.263, allocations: 322.8 kB / 0.7508 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.113e-05/5.263, allocations: 8 kB / 0.7508 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.921e-05/5.263, allocations: 13.72 kB / 0.7508 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.309e-05/5.263, allocations: 8 kB / 0.7509 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/5.263, allocations: 3.938 kB / 0.7509 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001251/5.263, allocations: 65.56 kB / 0.7509 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/5.263, allocations: 4 kB / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/5.263, allocations: 0 / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/5.263, allocations: 4 kB / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.519e-05/5.263, allocations: 0 / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/5.263, allocations: 7.984 kB / 0.7509 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/5.263, allocations: 7.938 kB / 0.7509 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/5.263, allocations: 4 kB / 0.7509 GB, free: 11.84 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,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 7.946e-05/5.264, allocations: 105 kB / 0.751 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/5.264, allocations: 7.844 kB / 0.7511 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.073e-05/5.264, allocations: 15.98 kB / 0.7511 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/5.264, allocations: 0 / 0.7511 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/5.264, allocations: 0 / 0.7511 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/5.264, allocations: 0 / 0.7511 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/5.264, allocations: 146.1 kB / 0.7512 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/5.264, allocations: 0 / 0.7512 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.458e-05/5.264, allocations: 3.984 kB / 0.7512 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/5.264, allocations: 7.938 kB / 0.7512 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/5.264, allocations: 4.375 kB / 0.7512 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/5.264, allocations: 0 / 0.7512 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/5.264, allocations: 4 kB / 0.7512 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001229/5.264, allocations: 73.03 kB / 0.7513 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002532/5.264, allocations: 461.4 kB / 0.7517 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/5.264, allocations: 81.11 kB / 0.7518 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/5.264, allocations: 0 / 0.7518 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.977e-05/5.265, allocations: 7.984 kB / 0.7518 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/5.265, allocations: 7.906 kB / 0.7518 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/5.265, allocations: 3.984 kB / 0.7518 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.511e-05/5.265, allocations: 83.28 kB / 0.7519 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001065/5.266, allocations: 8 kB / 0.7519 GB, free: 10.73 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,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.0001465/5.266, allocations: 99.25 kB / 0.752 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000124/5.266, allocations: 20 kB / 0.752 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/5.266, allocations: 0 / 0.752 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.708e-05/5.266, allocations: 19.92 kB / 0.7521 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/5.266, allocations: 6.578 kB / 0.7521 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/5.267, allocations: 79.78 kB / 0.7521 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/5.267, allocations: 0.6954 MB / 0.7528 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of SimCode: time 6.71e-07/5.267, allocations: 0 / 0.7528 GB, free: 9.766 MB / 0.6355 GB