Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_SlewRateLimiter",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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.106/2.106, allocations: 248.6 MB / 255.9 MB, free: 368 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001575/0.001574, allocations: 179 kB / 315.1 MB, free: 7.777 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.183/2.183, allocations: 205.1 MB / 0.5658 GB, free: 25.47 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001357/0.001357, allocations: 87.41 kB / 0.67 GB, free: 2.949 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2949/0.2963, allocations: 112.4 MB / 0.7797 GB, free: 2.453 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5953/0.8917, allocations: 106.2 MB / 0.8835 GB, free: 77.3 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2441/1.136, allocations: 130.9 MB / 1.011 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/1.136, allocations: 71.95 kB / 1.011 GB, free: 10.09 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.02334/1.16, allocations: 3.527 MB / 1.015 GB, free: 6.512 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.638e-05/1.16, allocations: 8 kB / 1.015 GB, free: 6.504 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002599/1.16, allocations: 27.62 kB / 1.015 GB, free: 6.477 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005013/1.16, allocations: 233.6 kB / 1.015 GB, free: 6.207 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/1.16, allocations: 4 kB / 1.015 GB, free: 6.203 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.188e-05/1.161, allocations: 8 kB / 1.015 GB, free: 6.195 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006444/1.161, allocations: 100 kB / 1.015 GB, free: 6.098 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005912/1.162, allocations: 126.2 kB / 1.015 GB, free: 5.969 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/1.162, allocations: 0 / 1.015 GB, free: 5.969 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/1.162, allocations: 3.938 kB / 1.015 GB, free: 5.965 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/1.162, allocations: 7.906 kB / 1.015 GB, free: 5.957 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003584/1.166, allocations: 0.6217 MB / 1.016 GB, free: 5.297 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005384/1.166, allocations: 135.6 kB / 1.016 GB, free: 5.156 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/1.167, allocations: 60.86 kB / 1.016 GB, free: 5.094 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.68e-05/1.167, allocations: 0 / 1.016 GB, free: 5.094 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/1.167, allocations: 38.78 kB / 1.016 GB, free: 5.047 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=17): time 3.427e-06/1.167, allocations: 0 / 1.016 GB, free: 5.047 MB / 0.6667 GB Notification: Performance of matching and sorting (n=17): time 0.0008834/1.168, allocations: 152.2 kB / 1.016 GB, free: 4.895 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/1.168, allocations: 55.41 kB / 1.016 GB, free: 4.828 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003405/1.168, allocations: 176.2 kB / 1.017 GB, free: 4.652 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/1.168, allocations: 25.7 kB / 1.017 GB, free: 4.621 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 9.896e-05/1.168, allocations: 116.3 kB / 1.017 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/1.168, allocations: 63.09 kB / 1.017 GB, free: 4.441 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/1.168, allocations: 0 / 1.017 GB, free: 4.441 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001784/1.169, allocations: 330.8 kB / 1.017 GB, free: 4.109 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/1.169, allocations: 48 kB / 1.017 GB, free: 4.062 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/1.169, allocations: 48 kB / 1.017 GB, free: 4.016 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/1.169, allocations: 47.98 kB / 1.017 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.169, allocations: 0 / 1.017 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007607/1.17, allocations: 169.2 kB / 1.017 GB, free: 3.797 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/1.17, allocations: 7.125 kB / 1.017 GB, free: 3.793 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.17, allocations: 0 / 1.017 GB, free: 3.793 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/1.17, allocations: 0 / 1.017 GB, free: 3.793 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/1.172, allocations: 115.8 kB / 1.017 GB, free: 3.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/1.172, allocations: 3.984 kB / 1.017 GB, free: 3.676 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/1.173, allocations: 95.77 kB / 1.018 GB, free: 3.582 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.766e-05/1.173, allocations: 8 kB / 1.018 GB, free: 3.574 MB / 0.6667 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 (18): * Single equations (assignments): 18 * 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.0001746/1.173, allocations: 101 kB / 1.018 GB, free: 3.469 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/1.173, allocations: 23.72 kB / 1.018 GB, free: 3.445 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/1.173, allocations: 25.89 kB / 1.018 GB, free: 3.422 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/1.173, allocations: 0 / 1.018 GB, free: 3.422 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/1.174, allocations: 8 kB / 1.018 GB, free: 3.414 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/1.174, allocations: 4 kB / 1.018 GB, free: 3.41 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00063/1.174, allocations: 254 kB / 1.018 GB, free: 3.125 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/1.174, allocations: 0 / 1.018 GB, free: 3.125 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001476/1.176, allocations: 111.8 kB / 1.018 GB, free: 3.016 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.73e-05/1.176, allocations: 7.906 kB / 1.018 GB, free: 3.008 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-05/1.176, allocations: 3.984 kB / 1.018 GB, free: 3.004 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/1.176, allocations: 0 / 1.018 GB, free: 3.004 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.176, allocations: 0 / 1.018 GB, free: 3.004 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001315/1.177, allocations: 351.2 kB / 1.018 GB, free: 2.645 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001904/1.179, allocations: 0.8126 MB / 1.019 GB, free: 1.816 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/1.179, allocations: 97.08 kB / 1.019 GB, free: 1.703 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.689e-05/1.179, allocations: 0 / 1.019 GB, free: 1.703 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/1.181, allocations: 92.05 kB / 1.019 GB, free: 1.613 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/1.181, allocations: 19.97 kB / 1.019 GB, free: 1.594 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.191e-05/1.181, allocations: 4 kB / 1.019 GB, free: 1.59 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0002712/1.181, allocations: 144.4 kB / 1.02 GB, free: 1.449 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002184/1.183, allocations: 35.94 kB / 1.02 GB, free: 1.414 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (sleRatLim.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0003001/1.184, allocations: 109.3 kB / 1.02 GB, free: 1.301 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0007391/1.185, allocations: 127.8 kB / 1.02 GB, free: 1.176 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.185, allocations: 0 / 1.02 GB, free: 1.176 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004098/1.185, allocations: 75.94 kB / 1.02 GB, free: 1.102 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007377/1.186, allocations: 34.75 kB / 1.02 GB, free: 1.066 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/1.187, allocations: 280.5 kB / 1.02 GB, free: 0.7617 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008623/1.188, allocations: 0.7823 MB / 1.021 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of SimCode: time 1.713e-06/1.188, allocations: 0 / 1.021 GB, free: 15.95 MB / 0.6823 GB