Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.302/4.302, allocations: 433 MB / 440.3 MB, free: 4.797 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5762/4.878, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/5.109, allocations: 98.72 MB / 0.6283 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9276/6.036, allocations: 347.1 MB / 0.9673 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/6.037, allocations: 87.62 kB / 0.9674 GB, free: 7.715 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.04962/6.086, allocations: 10.68 MB / 0.9778 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/6.086, allocations: 11.61 kB / 0.9778 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.668e-05/6.086, allocations: 23.72 kB / 0.9779 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/6.087, allocations: 273.1 kB / 0.9781 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/6.088, allocations: 4 kB / 0.9781 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.258e-05/6.088, allocations: 4 kB / 0.9781 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003749/6.088, allocations: 97.78 kB / 0.9782 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/6.088, allocations: 108.3 kB / 0.9783 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/6.088, allocations: 0 / 0.9783 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/6.088, allocations: 0 / 0.9783 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/6.088, allocations: 11.89 kB / 0.9783 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/6.09, allocations: 477.1 kB / 0.9788 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/6.09, allocations: 71.56 kB / 0.9788 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/6.09, allocations: 58.84 kB / 0.9789 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/6.091, allocations: 0.5062 MB / 0.9794 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/6.091, allocations: 42.38 kB / 0.9794 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 2.715e-06/6.091, allocations: 3.938 kB / 0.9794 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.006376/6.098, allocations: 463.6 kB / 0.9799 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/6.098, allocations: 51.41 kB / 0.9799 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/6.098, allocations: 197.1 kB / 0.9801 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/6.098, allocations: 25.7 kB / 0.9801 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/6.098, allocations: 110.8 kB / 0.9803 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.984e-05/6.098, allocations: 35.33 kB / 0.9803 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/6.098, allocations: 0 / 0.9803 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001875/6.099, allocations: 328.2 kB / 0.9806 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/6.099, allocations: 45.67 kB / 0.9806 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/6.099, allocations: 47.39 kB / 0.9807 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005938/6.105, allocations: 366.2 kB / 0.981 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/6.105, allocations: 0 / 0.981 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.006349/6.111, allocations: 478.2 kB / 0.9815 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/6.111, allocations: 4 kB / 0.9815 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/6.111, allocations: 0 / 0.9815 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/6.111, allocations: 0 / 0.9815 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006414/6.112, allocations: 59.94 kB / 0.9816 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/6.112, allocations: 7.906 kB / 0.9816 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/6.113, allocations: 39.91 kB / 0.9816 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/6.113, allocations: 11.48 kB / 0.9816 GB, free: 11.24 MB / 0.7292 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 (11): * Single equations (assignments): 11 * 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.000119/6.113, allocations: 105 kB / 0.9817 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.565e-05/6.113, allocations: 27.66 kB / 0.9817 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006957/6.12, allocations: 495.9 kB / 0.9822 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/6.12, allocations: 3.906 kB / 0.9822 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/6.12, allocations: 4 kB / 0.9822 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/6.12, allocations: 0 / 0.9822 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004673/6.12, allocations: 242.1 kB / 0.9824 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/6.12, allocations: 0 / 0.9824 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006133/6.121, allocations: 63.69 kB / 0.9825 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/6.121, allocations: 0 / 0.9825 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/6.121, allocations: 7.984 kB / 0.9825 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/6.121, allocations: 4 kB / 0.9825 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/6.121, allocations: 0 / 0.9825 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006379/6.128, allocations: 0.5578 MB / 0.9831 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006783/6.134, allocations: 0.937 MB / 0.984 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/6.135, allocations: 112.2 kB / 0.9841 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002836/6.135, allocations: 3.906 kB / 0.9841 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001561/6.137, allocations: 39.97 kB / 0.9841 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/6.137, allocations: 23.47 kB / 0.9842 GB, free: 8.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/6.137, allocations: 0 / 0.9842 GB, free: 8.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002173/6.137, allocations: 150.7 kB / 0.9843 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001407/6.138, allocations: 74.36 kB / 0.9844 GB, free: 8.562 MB / 0.7292 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 (11): * Single equations (assignments): 11 * 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.0004345/6.139, allocations: 187 kB / 0.9845 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005313/6.139, allocations: 115.5 kB / 0.9847 GB, free: 8.297 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/6.139, allocations: 0 / 0.9847 GB, free: 8.297 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002816/6.14, allocations: 65.61 kB / 0.9847 GB, free: 8.254 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/6.14, allocations: 28.14 kB / 0.9847 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/6.141, allocations: 240.5 kB / 0.985 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006324/6.142, allocations: 0.7732 MB / 0.9857 GB, free: 7.207 MB / 0.7292 GB Notification: Performance of SimCode: time 1.262e-06/6.142, allocations: 0 / 0.9857 GB, free: 7.207 MB / 0.7292 GB