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.Continuous.Validation.Sqrt.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.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",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.03/4.03, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5181/4.548, allocations: 104.4 MB / 0.5319 GB, free: 12.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/4.773, allocations: 98.72 MB / 0.6283 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2977/5.07, allocations: 123.4 MB / 0.7488 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003637/5.071, allocations: 75.59 kB / 0.7489 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.003705/5.075, allocations: 0.6742 MB / 0.7496 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/5.075, allocations: 8 kB / 0.7496 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/5.075, allocations: 0 / 0.7496 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/5.075, allocations: 167 kB / 0.7497 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/5.075, allocations: 7.938 kB / 0.7497 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/5.075, allocations: 0 / 0.7497 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001148/5.075, allocations: 8 kB / 0.7497 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/5.075, allocations: 37.7 kB / 0.7498 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/5.075, allocations: 3.984 kB / 0.7498 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/5.075, allocations: 0 / 0.7498 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/5.075, allocations: 4 kB / 0.7498 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004611/5.076, allocations: 225.5 kB / 0.75 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.343e-05/5.076, allocations: 22.52 kB / 0.75 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.073e-05/5.076, allocations: 12.92 kB / 0.75 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/5.076, allocations: 0 / 0.75 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/5.076, allocations: 38.56 kB / 0.7501 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.425e-06/5.076, allocations: 0 / 0.7501 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002586/5.076, allocations: 37.7 kB / 0.7501 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/5.076, allocations: 63.3 kB / 0.7502 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/5.077, allocations: 89 kB / 0.7502 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/5.077, allocations: 25.7 kB / 0.7503 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/5.077, allocations: 92.02 kB / 0.7504 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/5.077, allocations: 3.906 kB / 0.7504 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/5.077, allocations: 0 / 0.7504 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001772/5.077, allocations: 318.9 kB / 0.7507 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.6e-05/5.077, allocations: 4 kB / 0.7507 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.998e-05/5.077, allocations: 11.92 kB / 0.7507 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.385e-05/5.077, allocations: 7.938 kB / 0.7507 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/5.077, allocations: 0 / 0.7507 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001607/5.077, allocations: 37.7 kB / 0.7507 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/5.077, allocations: 4 kB / 0.7507 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/5.077, allocations: 3.984 kB / 0.7507 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/5.077, allocations: 8.281 kB / 0.7507 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/5.078, allocations: 11.98 kB / 0.7508 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/5.078, allocations: 3.906 kB / 0.7508 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/5.078, allocations: 11.98 kB / 0.7508 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/5.078, allocations: 3.984 kB / 0.7508 GB, free: 11.95 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001024/5.078, allocations: 105 kB / 0.7509 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-05/5.078, allocations: 0 / 0.7509 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.418e-05/5.078, allocations: 15.22 kB / 0.7509 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/5.078, allocations: 0 / 0.7509 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/5.078, allocations: 0 / 0.7509 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/5.078, allocations: 0 / 0.7509 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/5.078, allocations: 134.2 kB / 0.751 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/5.078, allocations: 3.984 kB / 0.751 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/5.079, allocations: 15.94 kB / 0.751 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/5.079, allocations: 0 / 0.751 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/5.079, allocations: 4 kB / 0.751 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/5.079, allocations: 0 / 0.751 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/5.079, allocations: 3.906 kB / 0.751 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001999/5.079, allocations: 131.5 kB / 0.7512 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003356/5.079, allocations: 0.5116 MB / 0.7517 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.726e-05/5.079, allocations: 77.11 kB / 0.7517 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/5.079, allocations: 4 kB / 0.7517 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/5.08, allocations: 11.89 kB / 0.7518 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/5.08, allocations: 11.97 kB / 0.7518 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/5.08, allocations: 0 / 0.7518 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.65e-05/5.08, allocations: 79.28 kB / 0.7518 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002004/5.082, allocations: 4 kB / 0.7518 GB, free: 10.75 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0002866/5.082, allocations: 103.2 kB / 0.7519 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001588/5.082, allocations: 12 kB / 0.752 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/5.082, allocations: 0 / 0.752 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.193e-05/5.083, allocations: 12.06 kB / 0.752 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/5.083, allocations: 11.88 kB / 0.752 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/5.083, allocations: 59.86 kB / 0.752 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004781/5.084, allocations: 0.6919 MB / 0.7527 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of SimCode: time 1.042e-06/5.084, allocations: 0 / 0.7527 GB, free: 9.801 MB / 0.6355 GB