Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.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.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",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.375/4.375, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5471/4.922, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/5.152, allocations: 98.72 MB / 0.6283 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2682/5.42, allocations: 123.6 MB / 0.749 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/5.421, allocations: 79.59 kB / 0.749 GB, free: 13.99 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.01102/5.432, allocations: 1.863 MB / 0.7509 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/5.432, allocations: 12 kB / 0.7509 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/5.432, allocations: 0 / 0.7509 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/5.432, allocations: 163.1 kB / 0.751 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/5.432, allocations: 0 / 0.751 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/5.432, allocations: 7.906 kB / 0.751 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.938e-05/5.432, allocations: 7.938 kB / 0.751 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.951e-05/5.432, allocations: 33.69 kB / 0.7511 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/5.432, allocations: 0 / 0.7511 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/5.432, allocations: 0 / 0.7511 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/5.432, allocations: 0 / 0.7511 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001767/5.432, allocations: 142.2 kB / 0.7512 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.122e-05/5.432, allocations: 18.61 kB / 0.7512 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.497e-05/5.432, allocations: 8.922 kB / 0.7512 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007875/5.433, allocations: 0.5739 MB / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/5.433, allocations: 38.5 kB / 0.7518 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 4.068e-06/5.433, allocations: 3.984 kB / 0.7518 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0008751/5.434, allocations: 250.3 kB / 0.7521 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/5.434, allocations: 55.41 kB / 0.7521 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/5.434, allocations: 88.98 kB / 0.7522 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/5.434, allocations: 25.7 kB / 0.7522 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/5.435, allocations: 84.14 kB / 0.7523 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/5.435, allocations: 11.84 kB / 0.7523 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/5.435, allocations: 0 / 0.7523 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001483/5.435, allocations: 314.8 kB / 0.7526 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.442e-05/5.435, allocations: 8.031 kB / 0.7526 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.319e-05/5.435, allocations: 21.7 kB / 0.7527 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.538e-05/5.435, allocations: 4 kB / 0.7527 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/5.435, allocations: 4 kB / 0.7527 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000174/5.435, allocations: 49.59 kB / 0.7527 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/5.435, allocations: 8 kB / 0.7527 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/5.435, allocations: 0 / 0.7527 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/5.435, allocations: 8 kB / 0.7527 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.94e-05/5.435, allocations: 8 kB / 0.7527 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/5.435, allocations: 0 / 0.7527 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.29e-05/5.435, allocations: 0 / 0.7527 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/5.435, allocations: 0 / 0.7527 GB, free: 9.82 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.388e-05/5.436, allocations: 108.9 kB / 0.7528 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/5.436, allocations: 0 / 0.7528 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/5.436, allocations: 61.34 kB / 0.7529 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/5.436, allocations: 4 kB / 0.7529 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/5.436, allocations: 0 / 0.7529 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/5.436, allocations: 0 / 0.7529 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/5.436, allocations: 138.1 kB / 0.753 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/5.436, allocations: 3.938 kB / 0.753 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.12e-05/5.436, allocations: 8 kB / 0.753 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/5.436, allocations: 0 / 0.753 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/5.436, allocations: 0 / 0.753 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/5.436, allocations: 4 kB / 0.753 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/5.436, allocations: 0 / 0.753 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002277/5.436, allocations: 77.03 kB / 0.7531 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004598/5.437, allocations: 474.1 kB / 0.7536 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/5.437, allocations: 77.58 kB / 0.7536 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/5.437, allocations: 3.938 kB / 0.7536 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/5.437, allocations: 0 / 0.7536 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/5.437, allocations: 8.125 kB / 0.7537 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/5.437, allocations: 96 / 0.7537 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.237e-05/5.437, allocations: 83.25 kB / 0.7537 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001692/5.439, allocations: 43.84 kB / 0.7538 GB, free: 8.641 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0003589/5.439, allocations: 135.2 kB / 0.7539 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001252/5.439, allocations: 12 kB / 0.7539 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/5.439, allocations: 0 / 0.7539 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.905e-05/5.439, allocations: 12.06 kB / 0.7539 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/5.44, allocations: 8.516 kB / 0.7539 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002824/5.44, allocations: 68.2 kB / 0.754 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003583/5.44, allocations: 0.6954 MB / 0.7547 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of SimCode: time 8.02e-07/5.44, allocations: 0 / 0.7547 GB, free: 7.656 MB / 0.6355 GB