Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",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.008/4.008, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5599/4.568, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/4.796, allocations: 98.74 MB / 0.6283 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2204/5.016, allocations: 123.3 MB / 0.7487 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/5.017, allocations: 79.58 kB / 0.7488 GB, free: 14.23 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.004565/5.021, allocations: 1.191 MB / 0.7499 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/5.021, allocations: 8 kB / 0.75 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.382e-05/5.021, allocations: 95.09 kB / 0.75 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/5.022, allocations: 266.1 kB / 0.7503 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.966e-05/5.022, allocations: 150.6 kB / 0.7504 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.6e-05/5.022, allocations: 154.6 kB / 0.7506 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.596e-05/5.022, allocations: 150.6 kB / 0.7507 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.489e-05/5.022, allocations: 104.9 kB / 0.7508 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/5.022, allocations: 79.28 kB / 0.7509 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-05/5.022, allocations: 158.6 kB / 0.7511 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.644e-05/5.022, allocations: 150.6 kB / 0.7512 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/5.023, allocations: 490.2 kB / 0.7517 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/5.023, allocations: 169.1 kB / 0.7518 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.048e-05/5.023, allocations: 80.14 kB / 0.7519 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/5.023, allocations: 75.28 kB / 0.752 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.912e-05/5.023, allocations: 109.8 kB / 0.7521 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.873e-06/5.023, allocations: 0 / 0.7521 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001078/5.023, allocations: 46.17 kB / 0.7521 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/5.023, allocations: 51.41 kB / 0.7522 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/5.023, allocations: 209.9 kB / 0.7524 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/5.023, allocations: 25.7 kB / 0.7524 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/5.023, allocations: 103.8 kB / 0.7525 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/5.023, allocations: 0 / 0.7525 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/5.023, allocations: 0 / 0.7525 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001333/5.024, allocations: 330.8 kB / 0.7528 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/5.024, allocations: 44.34 kB / 0.7529 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/5.024, allocations: 171.1 kB / 0.753 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008669/5.025, allocations: 125 kB / 0.7531 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/5.025, allocations: 4 kB / 0.7531 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001236/5.026, allocations: 268.9 kB / 0.7534 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/5.026, allocations: 7.938 kB / 0.7534 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/5.026, allocations: 4 kB / 0.7534 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/5.026, allocations: 8 kB / 0.7534 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/5.027, allocations: 40.58 kB / 0.7535 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/5.027, allocations: 15.92 kB / 0.7535 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/5.027, allocations: 19.75 kB / 0.7535 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/5.027, allocations: 16 kB / 0.7535 GB, free: 9.105 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.000126/5.027, allocations: 188.1 kB / 0.7537 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.242e-05/5.027, allocations: 112.8 kB / 0.7538 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.534e-05/5.027, allocations: 117.5 kB / 0.7539 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.718e-05/5.027, allocations: 180.2 kB / 0.7541 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-05/5.027, allocations: 180.3 kB / 0.7543 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.179e-05/5.027, allocations: 188.2 kB / 0.7544 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/5.028, allocations: 417.7 kB / 0.7548 GB, free: 7.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.574e-05/5.028, allocations: 101 kB / 0.7549 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.517e-05/5.028, allocations: 105 kB / 0.755 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001177/5.028, allocations: 184.2 kB / 0.7552 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/5.028, allocations: 180.2 kB / 0.7554 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.818e-05/5.028, allocations: 176.3 kB / 0.7555 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.268e-05/5.028, allocations: 188.2 kB / 0.7557 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001543/5.028, allocations: 307.6 kB / 0.756 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003092/5.029, allocations: 0.6874 MB / 0.7567 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/5.029, allocations: 186 kB / 0.7569 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.874e-05/5.029, allocations: 188.1 kB / 0.757 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/5.029, allocations: 105.3 kB / 0.7571 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.567e-05/5.029, allocations: 180.3 kB / 0.7573 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/5.029, allocations: 109 kB / 0.7574 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001997/5.03, allocations: 148.6 kB / 0.7576 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001258/5.031, allocations: 24 kB / 0.7576 GB, free: 4.699 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.0002844/5.031, allocations: 189.7 kB / 0.7578 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003294/5.031, allocations: 91.84 kB / 0.7579 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/5.031, allocations: 0 / 0.7579 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.414e-06/5.031, allocations: 3.938 kB / 0.7579 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/5.032, allocations: 0.5276 MB / 0.7584 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004946/5.032, allocations: 234.6 kB / 0.7586 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004714/5.033, allocations: 0.727 MB / 0.7593 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of SimCode: time 9.22e-07/5.033, allocations: 4 kB / 0.7593 GB, free: 2.871 MB / 0.6355 GB