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.MultiMin.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.MultiMin,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",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.261/4.261, allocations: 433 MB / 440.3 MB, free: 4.777 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5769/4.838, allocations: 104.3 MB / 0.5319 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/5.091, allocations: 98.73 MB / 0.6283 GB, free: 9.633 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2831/5.374, allocations: 123 MB / 0.7485 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/5.374, allocations: 75.59 kB / 0.7485 GB, free: 14.36 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.002629/5.377, allocations: 0.7879 MB / 0.7493 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/5.377, allocations: 8 kB / 0.7493 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/5.377, allocations: 7.906 kB / 0.7493 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/5.377, allocations: 182.8 kB / 0.7495 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/5.377, allocations: 0 / 0.7495 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/5.377, allocations: 8 kB / 0.7495 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001438/5.377, allocations: 43.97 kB / 0.7496 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/5.377, allocations: 77.61 kB / 0.7496 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/5.377, allocations: 0 / 0.7496 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/5.378, allocations: 0 / 0.7496 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/5.378, allocations: 0 / 0.7496 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005841/5.378, allocations: 447.7 kB / 0.7501 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.917e-05/5.378, allocations: 173 kB / 0.7502 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.143e-05/5.378, allocations: 92.06 kB / 0.7503 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/5.378, allocations: 75.28 kB / 0.7504 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.641e-05/5.378, allocations: 109.8 kB / 0.7505 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.933e-06/5.378, allocations: 0 / 0.7505 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.463e-05/5.379, allocations: 29.7 kB / 0.7505 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/5.379, allocations: 51.41 kB / 0.7506 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/5.379, allocations: 113 kB / 0.7507 GB, free: 12 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.181e-05/5.379, allocations: 25.7 kB / 0.7507 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/5.379, allocations: 103.9 kB / 0.7508 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/5.379, allocations: 0 / 0.7508 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/5.379, allocations: 0 / 0.7508 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001337/5.379, allocations: 310.8 kB / 0.7511 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.445e-05/5.379, allocations: 11.98 kB / 0.7511 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.364e-05/5.379, allocations: 15.94 kB / 0.7511 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.502e-05/5.379, allocations: 7.984 kB / 0.7511 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/5.379, allocations: 0 / 0.7511 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001565/5.379, allocations: 53.59 kB / 0.7512 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/5.379, allocations: 4 kB / 0.7512 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/5.379, allocations: 3.938 kB / 0.7512 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/5.379, allocations: 0 / 0.7512 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.331e-05/5.379, allocations: 7.984 kB / 0.7512 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/5.379, allocations: 0 / 0.7512 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.777e-05/5.38, allocations: 8.203 kB / 0.7512 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/5.38, allocations: 3.938 kB / 0.7512 GB, free: 11.43 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 (1): * Single equations (assignments): 1 * 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.0001182/5.38, allocations: 180.2 kB / 0.7514 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.769e-05/5.38, allocations: 109.6 kB / 0.7515 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.804e-05/5.38, allocations: 108.2 kB / 0.7516 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.038e-05/5.38, allocations: 184.2 kB / 0.7518 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.608e-05/5.38, allocations: 188.2 kB / 0.7519 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.078e-05/5.38, allocations: 177.5 kB / 0.7521 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/5.38, allocations: 393.7 kB / 0.7525 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.832e-05/5.381, allocations: 108.9 kB / 0.7526 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.934e-05/5.381, allocations: 101 kB / 0.7527 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.383e-05/5.381, allocations: 184.3 kB / 0.7529 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.124e-05/5.381, allocations: 184.2 kB / 0.753 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.193e-05/5.381, allocations: 180.3 kB / 0.7532 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-05/5.381, allocations: 180.2 kB / 0.7534 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001815/5.381, allocations: 303.7 kB / 0.7537 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003413/5.382, allocations: 0.6797 MB / 0.7543 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/5.382, allocations: 182.1 kB / 0.7545 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/5.382, allocations: 184.3 kB / 0.7547 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/5.382, allocations: 108.9 kB / 0.7548 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.156e-05/5.382, allocations: 184.6 kB / 0.755 GB, free: 7.355 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/5.382, allocations: 105 kB / 0.7551 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001023/5.382, allocations: 95.17 kB / 0.7551 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001099/5.383, allocations: 11.94 kB / 0.7552 GB, free: 7.141 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 (0): * Single equations (assignments): 0 * 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.000216/5.384, allocations: 183.1 kB / 0.7553 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.939e-05/5.384, allocations: 19.95 kB / 0.7554 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/5.384, allocations: 0 / 0.7554 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.24e-06/5.384, allocations: 4 kB / 0.7554 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/5.384, allocations: 0.5185 MB / 0.7559 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003421/5.385, allocations: 155.1 kB / 0.756 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004074/5.385, allocations: 0.7037 MB / 0.7567 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of SimCode: time 3.176e-06/5.385, allocations: 0 / 0.7567 GB, free: 5.5 MB / 0.6355 GB