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.Sort.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.Sort,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",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.324/4.324, allocations: 433 MB / 440.3 MB, free: 4.793 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5974/4.922, allocations: 104.3 MB / 0.5319 GB, free: 12.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/5.154, allocations: 98.74 MB / 0.6283 GB, free: 9.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2291/5.383, allocations: 123.9 MB / 0.7493 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00035/5.384, allocations: 75.59 kB / 0.7493 GB, free: 13.65 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.02075/5.404, allocations: 3.811 MB / 0.7531 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/5.404, allocations: 12 kB / 0.7531 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.04e-05/5.405, allocations: 15.81 kB / 0.7531 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/5.405, allocations: 206.8 kB / 0.7533 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/5.405, allocations: 0 / 0.7533 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/5.405, allocations: 4 kB / 0.7533 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003026/5.405, allocations: 79.98 kB / 0.7534 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/5.406, allocations: 117.5 kB / 0.7535 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/5.406, allocations: 3.938 kB / 0.7535 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/5.406, allocations: 0 / 0.7535 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/5.406, allocations: 3.938 kB / 0.7535 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/5.407, allocations: 0.493 MB / 0.754 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/5.407, allocations: 82.5 kB / 0.754 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/5.408, allocations: 68.98 kB / 0.7541 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/5.408, allocations: 0 / 0.7541 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/5.408, allocations: 38.56 kB / 0.7542 GB, free: 8.574 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.395e-06/5.408, allocations: 0 / 0.7542 GB, free: 8.574 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.001012/5.409, allocations: 173.4 kB / 0.7543 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/5.409, allocations: 51.41 kB / 0.7544 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/5.409, allocations: 125.4 kB / 0.7545 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/5.409, allocations: 25.7 kB / 0.7545 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/5.409, allocations: 100.3 kB / 0.7546 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.979e-05/5.409, allocations: 43.27 kB / 0.7546 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.53e-05/5.409, allocations: 0 / 0.7546 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002012/5.409, allocations: 334.8 kB / 0.755 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/5.41, allocations: 51.98 kB / 0.755 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/5.41, allocations: 55.92 kB / 0.7551 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/5.41, allocations: 68.62 kB / 0.7551 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/5.41, allocations: 0 / 0.7551 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004601/5.411, allocations: 165.5 kB / 0.7553 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/5.411, allocations: 11.98 kB / 0.7553 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/5.411, allocations: 7.938 kB / 0.7553 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/5.411, allocations: 0 / 0.7553 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005067/5.411, allocations: 63.95 kB / 0.7554 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.629e-06/5.411, allocations: 0 / 0.7554 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004217/5.412, allocations: 55.8 kB / 0.7554 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/5.412, allocations: 4 kB / 0.7554 GB, free: 7.207 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000104/5.412, allocations: 110.1 kB / 0.7555 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/5.412, allocations: 11.81 kB / 0.7555 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005917/5.413, allocations: 190.2 kB / 0.7557 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/5.413, allocations: 3.984 kB / 0.7557 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/5.413, allocations: 4 kB / 0.7557 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/5.413, allocations: 0 / 0.7557 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/5.413, allocations: 222 kB / 0.7559 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/5.413, allocations: 4 kB / 0.7559 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004734/5.414, allocations: 59.95 kB / 0.756 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/5.414, allocations: 7.906 kB / 0.756 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/5.414, allocations: 0 / 0.756 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/5.414, allocations: 0 / 0.756 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/5.414, allocations: 0 / 0.756 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000543/5.414, allocations: 271.2 kB / 0.7563 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006342/5.415, allocations: 0.6482 MB / 0.7569 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-05/5.415, allocations: 92.86 kB / 0.757 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/5.415, allocations: 0 / 0.757 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004779/5.416, allocations: 47.95 kB / 0.757 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.696e-05/5.416, allocations: 15.98 kB / 0.7571 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/5.416, allocations: 7.984 kB / 0.7571 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001025/5.416, allocations: 101.7 kB / 0.7572 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001258/5.417, allocations: 51.77 kB / 0.7572 GB, free: 5.281 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003079/5.417, allocations: 123.2 kB / 0.7573 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006578/5.418, allocations: 195.4 kB / 0.7575 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/5.418, allocations: 0 / 0.7575 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002484/5.418, allocations: 147.3 kB / 0.7577 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/5.419, allocations: 11.98 kB / 0.7577 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006819/5.419, allocations: 211.3 kB / 0.7579 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004539/5.42, allocations: 0.7428 MB / 0.7586 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of SimCode: time 9.71e-07/5.42, allocations: 4 kB / 0.7586 GB, free: 3.773 MB / 0.6355 GB