Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.364/1.364, allocations: 289.8 MB / 297.1 MB, free: 6.723 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 185.3 kB / 366.3 MB, free: 2.027 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.101/1.101, allocations: 205.1 MB / 0.6256 GB, free: 5.875 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007877/0.0007877, allocations: 93.3 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1962/0.197, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4635/0.6606, allocations: 116.3 MB / 0.9727 GB, free: 68.13 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1414/0.802, allocations: 138.1 MB / 1.108 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001647/0.8022, allocations: 76.39 kB / 1.108 GB, free: 10.29 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.009544/0.8117, allocations: 3.409 MB / 1.111 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.8118, allocations: 10.16 kB / 1.111 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/0.8118, allocations: 23.72 kB / 1.111 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.8121, allocations: 237.6 kB / 1.111 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.822e-06/0.8121, allocations: 4 kB / 1.111 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.8121, allocations: 8 kB / 1.111 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002096/0.8123, allocations: 99.98 kB / 1.111 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.8125, allocations: 129.5 kB / 1.111 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.949e-06/0.8125, allocations: 0 / 1.111 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.8126, allocations: 0 / 1.111 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.8126, allocations: 4 kB / 1.111 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.8138, allocations: 0.6294 MB / 1.112 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.814, allocations: 126.6 kB / 1.112 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.8141, allocations: 60.86 kB / 1.112 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.8141, allocations: 4 kB / 1.112 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.8141, allocations: 34.55 kB / 1.112 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.8142, allocations: 3.938 kB / 1.112 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17): time 0.0002987/0.8145, allocations: 154.4 kB / 1.112 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.038e-05/0.8145, allocations: 51.41 kB / 1.112 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.8146, allocations: 180.1 kB / 1.113 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.8146, allocations: 25.7 kB / 1.113 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.514e-05/0.8147, allocations: 116.3 kB / 1.113 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.8147, allocations: 55.2 kB / 1.113 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.119e-05/0.8148, allocations: 0 / 1.113 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.8149, allocations: 332.7 kB / 1.113 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.831e-05/0.815, allocations: 48 kB / 1.113 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.748e-05/0.8151, allocations: 52.53 kB / 1.113 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.532e-05/0.8152, allocations: 50.8 kB / 1.113 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.8152, allocations: 0 / 1.113 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002733/0.8155, allocations: 157.3 kB / 1.113 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/0.8155, allocations: 4 kB / 1.113 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.8155, allocations: 7.984 kB / 1.113 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-06/0.8155, allocations: 3.906 kB / 1.113 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/0.816, allocations: 107.9 kB / 1.114 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.816, allocations: 0 / 1.114 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.8164, allocations: 103.8 kB / 1.114 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.8164, allocations: 7.891 kB / 1.114 GB, free: 3.91 MB / 0.7136 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.0001074/0.8165, allocations: 112.9 kB / 1.114 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.8166, allocations: 19.72 kB / 1.114 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.459e-05/0.8166, allocations: 17.91 kB / 1.114 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.8166, allocations: 4 kB / 1.114 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8167, allocations: 7.984 kB / 1.114 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.8167, allocations: 0 / 1.114 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.817, allocations: 262 kB / 1.114 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.817, allocations: 0.8438 kB / 1.114 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005269/0.8175, allocations: 107.9 kB / 1.114 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.8175, allocations: 0 / 1.114 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.8176, allocations: 0 / 1.114 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.8176, allocations: 0 / 1.114 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.8176, allocations: 8 kB / 1.114 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005394/0.8181, allocations: 354 kB / 1.115 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007654/0.8189, allocations: 0.8084 MB / 1.115 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.819, allocations: 97.08 kB / 1.115 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.819, allocations: 5.594 kB / 1.115 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/0.8194, allocations: 88.05 kB / 1.116 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.8195, allocations: 23.95 kB / 1.116 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.8195, allocations: 4 kB / 1.116 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001013/0.8196, allocations: 140.5 kB / 1.116 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000867/0.8205, allocations: 43.84 kB / 1.116 GB, free: 1.746 MB / 0.7136 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.000147/0.8206, allocations: 107.2 kB / 1.116 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002577/0.8209, allocations: 127.1 kB / 1.116 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.8209, allocations: 0 / 1.116 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.8211, allocations: 79.83 kB / 1.116 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.8213, allocations: 25.27 kB / 1.116 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000594/0.8219, allocations: 278 kB / 1.116 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003927/0.8223, allocations: 0.7731 MB / 1.117 GB, free: 312 kB / 0.7136 GB Notification: Performance of SimCode: time 3.41e-07/0.8223, allocations: 0 / 1.117 GB, free: 312 kB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_SlewRateLimiter_fmu --startTime=0 --stopTime=480 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_SlewRateLimiter.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe 2>&1)