Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter",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.0.1-maint.8.0.x/package.mo): time 1.292/1.292, allocations: 285.5 MB / 292.8 MB, free: 0.6719 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009169/0.0009168, allocations: 179.7 kB / 361.1 MB, free: 15.31 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.01/1.01, allocations: 205.2 MB / 0.6195 GB, free: 5.832 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008408/0.0008408, allocations: 90.66 kB / 0.7325 GB, free: 47.38 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.1769/0.1778, allocations: 121.5 MB / 0.8512 GB, free: 12.63 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.5886, allocations: 115.3 MB / 0.9638 GB, free: 85.7 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1289/0.7175, allocations: 136.7 MB / 1.097 GB, free: 12.76 MB / 0.7059 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000179/0.7177, allocations: 67.94 kB / 1.097 GB, free: 12.69 MB / 0.7059 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002204/0.7199, allocations: 0.8299 MB / 1.098 GB, free: 11.85 MB / 0.7059 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.72, allocations: 12.59 kB / 1.098 GB, free: 11.84 MB / 0.7059 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.72, allocations: 4.562 kB / 1.098 GB, free: 11.84 MB / 0.7059 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.578e-05/0.7201, allocations: 167.1 kB / 1.098 GB, free: 11.63 MB / 0.7059 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.7201, allocations: 0.5625 kB / 1.098 GB, free: 11.63 MB / 0.7059 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.7201, allocations: 6.594 kB / 1.098 GB, free: 11.63 MB / 0.7059 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.046e-05/0.7202, allocations: 12.5 kB / 1.098 GB, free: 11.62 MB / 0.7059 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.327e-05/0.7203, allocations: 42.38 kB / 1.098 GB, free: 11.57 MB / 0.7059 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.7203, allocations: 6.875 kB / 1.098 GB, free: 11.57 MB / 0.7059 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.7203, allocations: 0 / 1.098 GB, free: 11.57 MB / 0.7059 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.7203, allocations: 0.9375 kB / 1.098 GB, free: 11.57 MB / 0.7059 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.7207, allocations: 264.1 kB / 1.099 GB, free: 11.27 MB / 0.7059 GB Notification: Performance of preOpt comSubExp (simulation): time 5.179e-05/0.7207, allocations: 26.58 kB / 1.099 GB, free: 11.24 MB / 0.7059 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.7208, allocations: 20.75 kB / 1.099 GB, free: 11.22 MB / 0.7059 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.7208, allocations: 0 / 1.099 GB, free: 11.22 MB / 0.7059 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.7208, allocations: 30.56 kB / 1.099 GB, free: 11.18 MB / 0.7059 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.7208, allocations: 0 / 1.099 GB, free: 11.18 MB / 0.7059 GB Notification: Performance of matching and sorting (n=2): time 0.00014/0.721, allocations: 53.62 kB / 1.099 GB, free: 11.12 MB / 0.7059 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.072e-05/0.721, allocations: 55.44 kB / 1.099 GB, free: 11.05 MB / 0.7059 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.669e-05/0.721, allocations: 89 kB / 1.099 GB, free: 10.96 MB / 0.7059 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.7211, allocations: 29.7 kB / 1.099 GB, free: 10.93 MB / 0.7059 GB Notification: Performance of collectInitialEqns (initialization): time 2.988e-05/0.7211, allocations: 88.05 kB / 1.099 GB, free: 10.84 MB / 0.7059 GB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.7211, allocations: 3.984 kB / 1.099 GB, free: 10.83 MB / 0.7059 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.7211, allocations: 0 / 1.099 GB, free: 10.83 MB / 0.7059 GB Notification: Performance of setup shared object (initialization): time 7.872e-05/0.7212, allocations: 314.8 kB / 1.099 GB, free: 10.52 MB / 0.7059 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.7212, allocations: 8 kB / 1.099 GB, free: 10.51 MB / 0.7059 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.177e-05/0.7213, allocations: 25.72 kB / 1.099 GB, free: 10.48 MB / 0.7059 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.069e-05/0.7213, allocations: 8 kB / 1.099 GB, free: 10.47 MB / 0.7059 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.7213, allocations: 0 / 1.099 GB, free: 10.47 MB / 0.7059 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.723e-05/0.7214, allocations: 45.69 kB / 1.099 GB, free: 10.42 MB / 0.7059 GB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.7214, allocations: 92.94 kB / 1.1 GB, free: 10.32 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.7214, allocations: 0 / 1.1 GB, free: 10.32 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.7215, allocations: 8.031 kB / 1.1 GB, free: 10.31 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.7216, allocations: 21.58 kB / 1.1 GB, free: 10.29 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.7216, allocations: 0 / 1.1 GB, free: 10.29 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.042e-05/0.7217, allocations: 31.91 kB / 1.1 GB, free: 10.26 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.7217, allocations: 0 / 1.1 GB, free: 10.26 MB / 0.7059 GB Notification: Performance of prepare postOptimizeDAE: time 6.051e-06/0.7217, allocations: 4.938 kB / 1.1 GB, free: 10.26 MB / 0.7059 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 3.598e-05/0.7218, allocations: 12 kB / 1.1 GB, free: 10.25 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.51e-07/0.7218, allocations: 0 / 1.1 GB, free: 10.25 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-06/0.7218, allocations: 3.984 kB / 1.1 GB, free: 10.24 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.044e-05/0.7218, allocations: 18.14 kB / 1.1 GB, free: 10.23 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.22e-07/0.7219, allocations: 0 / 1.1 GB, free: 10.23 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.918e-05/0.7219, allocations: 15.98 kB / 1.1 GB, free: 10.21 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-06/0.7219, allocations: 0 / 1.1 GB, free: 10.21 MB / 0.7059 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 (2): * Single equations (assignments): 2 * 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 6.501e-05/0.722, allocations: 112.7 kB / 1.1 GB, free: 10.09 MB / 0.7059 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.722, allocations: 4 kB / 1.1 GB, free: 10.09 MB / 0.7059 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.636e-05/0.7221, allocations: 7.625 kB / 1.1 GB, free: 10.08 MB / 0.7059 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.7221, allocations: 6.125 kB / 1.1 GB, free: 10.08 MB / 0.7059 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.7221, allocations: 0 / 1.1 GB, free: 10.08 MB / 0.7059 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.7221, allocations: 5.219 kB / 1.1 GB, free: 10.07 MB / 0.7059 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.7222, allocations: 142.2 kB / 1.1 GB, free: 9.898 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.7222, allocations: 0 / 1.1 GB, free: 9.898 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.601e-05/0.7223, allocations: 19.98 kB / 1.1 GB, free: 9.879 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.7223, allocations: 0 / 1.1 GB, free: 9.879 MB / 0.7059 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.7223, allocations: 0 / 1.1 GB, free: 9.879 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.7223, allocations: 4 kB / 1.1 GB, free: 9.875 MB / 0.7059 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.7223, allocations: 0 / 1.1 GB, free: 9.875 MB / 0.7059 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.333e-05/0.7224, allocations: 144.6 kB / 1.1 GB, free: 9.719 MB / 0.7059 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001844/0.7226, allocations: 0.5141 MB / 1.101 GB, free: 9.188 MB / 0.7059 GB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-05/0.7227, allocations: 81.11 kB / 1.101 GB, free: 9.09 MB / 0.7059 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.7227, allocations: 0 / 1.101 GB, free: 9.09 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.7228, allocations: 23.92 kB / 1.101 GB, free: 9.066 MB / 0.7059 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.7228, allocations: 7.984 kB / 1.101 GB, free: 9.059 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.7228, allocations: 1.875 kB / 1.101 GB, free: 9.059 MB / 0.7059 GB Notification: Performance of sort global known variables: time 2.795e-05/0.7229, allocations: 80.59 kB / 1.101 GB, free: 8.98 MB / 0.7059 GB Notification: Performance of remove unused functions: time 0.001301/0.7242, allocations: 8 kB / 1.101 GB, free: 8.973 MB / 0.7059 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 (2): * Single equations (assignments): 2 * 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.0001142/0.7243, allocations: 99.25 kB / 1.101 GB, free: 8.867 MB / 0.7059 GB Notification: Performance of simCode: created initialization part: time 9.134e-05/0.7244, allocations: 39.92 kB / 1.101 GB, free: 8.828 MB / 0.7059 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.7244, allocations: 0 / 1.101 GB, free: 8.828 MB / 0.7059 GB Notification: Performance of simCode: created simulation system equations: time 2.259e-05/0.7244, allocations: 7.938 kB / 1.101 GB, free: 8.82 MB / 0.7059 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.7246, allocations: 7.906 kB / 1.101 GB, free: 8.812 MB / 0.7059 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002448/0.7248, allocations: 80.91 kB / 1.101 GB, free: 8.711 MB / 0.7059 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.7251, allocations: 0.6919 MB / 1.102 GB, free: 7.992 MB / 0.7059 GB Notification: Performance of SimCode: time 2.5e-07/0.7251, allocations: 0 / 1.102 GB, free: 7.992 MB / 0.7059 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe 2>&1)