Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") [: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 loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.155/2.155, allocations: 253.1 MB / 260.4 MB, free: 7.441 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001649/0.001649, allocations: 188.5 kB / 319.6 MB, free: 3.297 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.841/1.841, allocations: 205.4 MB / 0.5704 GB, free: 15.03 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001325/0.001324, allocations: 78.72 kB / 0.6746 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.174e-05/1.192e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.264, allocations: 106.2 MB / 0.888 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6322/0.8962, allocations: 131.5 MB / 1.016 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.8966, allocations: 78.77 kB / 1.017 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01259/0.9092, allocations: 1.529 MB / 1.018 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.9093, allocations: 0 / 1.018 GB, free: 5.438 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.0004703/0.9097, allocations: 330.2 kB / 1.018 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.9098, allocations: 8.031 kB / 1.018 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.9099, allocations: 7.906 kB / 1.018 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.9101, allocations: 164.2 kB / 1.019 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.9101, allocations: 4 kB / 1.019 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.9101, allocations: 3.906 kB / 1.019 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.745e-05/0.9102, allocations: 6.625 kB / 1.019 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.788e-05/0.9103, allocations: 33.69 kB / 1.019 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.9104, allocations: 3.938 kB / 1.019 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.9104, allocations: 0 / 1.019 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.9104, allocations: 0 / 1.019 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.9107, allocations: 137.5 kB / 1.019 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.564e-05/0.9107, allocations: 22.61 kB / 1.019 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.488e-05/0.9108, allocations: 11.98 kB / 1.019 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/0.912, allocations: 0.57 MB / 1.019 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.9121, allocations: 39 kB / 1.019 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.755e-06/0.9121, allocations: 0 / 1.019 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.001025/0.9131, allocations: 241.9 kB / 1.02 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.9132, allocations: 59.39 kB / 1.02 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.881e-05/0.9133, allocations: 93.03 kB / 1.02 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.9134, allocations: 29.7 kB / 1.02 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.9135, allocations: 80.14 kB / 1.02 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.9135, allocations: 7.656 kB / 1.02 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.9135, allocations: 0 / 1.02 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.9137, allocations: 314.8 kB / 1.02 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.559e-05/0.9138, allocations: 4 kB / 1.02 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.699e-05/0.9138, allocations: 19.53 kB / 1.02 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.914, allocations: 12 kB / 1.02 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.914, allocations: 3.938 kB / 1.02 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002868/0.9143, allocations: 56.66 kB / 1.02 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.9144, allocations: 4 kB / 1.02 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.9144, allocations: 0 / 1.02 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.9144, allocations: 0 / 1.02 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.9145, allocations: 8 kB / 1.02 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.9146, allocations: 2.25 kB / 1.02 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.967e-05/0.9146, allocations: 4.062 kB / 1.02 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.9147, allocations: 0 / 1.02 GB, free: 2.844 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 0.0001504/0.9148, allocations: 112.8 kB / 1.02 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.9149, allocations: 3.906 kB / 1.02 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/0.9152, allocations: 61.86 kB / 1.02 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.9152, allocations: 0 / 1.02 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.9153, allocations: 0 / 1.02 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.9153, allocations: 0 / 1.02 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.9155, allocations: 138.1 kB / 1.021 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.9155, allocations: 384 / 1.021 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.9156, allocations: 4 kB / 1.021 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.9157, allocations: 0 / 1.021 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.9157, allocations: 4 kB / 1.021 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.9157, allocations: 0 / 1.021 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.9157, allocations: 0 / 1.021 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003165/0.9161, allocations: 83.02 kB / 1.021 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.081e-05/0.9161, allocations: 81.2 kB / 1.021 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.9162, allocations: 8.875 kB / 1.021 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.162e-05/0.9163, allocations: 0 / 1.021 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.9163, allocations: 0 / 1.021 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.9164, allocations: 3.312 kB / 1.021 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.892e-05/0.9164, allocations: 79.28 kB / 1.021 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006371/0.9171, allocations: 47.77 kB / 1.021 GB, free: 2.16 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.0004577/0.9176, allocations: 135.2 kB / 1.021 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000143/0.9177, allocations: 23.19 kB / 1.021 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.9178, allocations: 0 / 1.021 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.455e-05/0.9178, allocations: 4 kB / 1.021 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.918, allocations: 4 kB / 1.021 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.9184, allocations: 74.88 kB / 1.021 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004255/0.9188, allocations: 0.6876 MB / 1.022 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of SimCode: time 1.332e-06/0.9189, allocations: 0 / 1.022 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of Templates: time 0.00634/0.9252, allocations: 1.19 MB / 1.023 GB, free: 12 kB / 0.6355 GB