Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.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.Limiter,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.399/1.399, allocations: 289.8 MB / 297.1 MB, free: 6.664 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.001038/0.001038, allocations: 177.3 kB / 366.3 MB, free: 1.984 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.107/1.107, allocations: 205.1 MB / 0.6256 GB, free: 5.828 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.00084/0.00084, allocations: 81.23 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1953/0.1962, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4507/0.6469, allocations: 116.3 MB / 0.9727 GB, free: 68.25 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1442/0.7912, allocations: 137.7 MB / 1.107 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.7914, allocations: 71.89 kB / 1.107 GB, free: 10.66 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002352/0.7938, allocations: 0.8185 MB / 1.108 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.7938, allocations: 12 kB / 1.108 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.7939, allocations: 3.906 kB / 1.108 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.794, allocations: 171.1 kB / 1.108 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.794, allocations: 0.5625 kB / 1.108 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.794, allocations: 3.906 kB / 1.108 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.328e-05/0.7941, allocations: 16 kB / 1.108 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.448e-05/0.7942, allocations: 45.62 kB / 1.108 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.7942, allocations: 0 / 1.108 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.7942, allocations: 0 / 1.108 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.7942, allocations: 5.031 kB / 1.108 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.7946, allocations: 257.4 kB / 1.109 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.463e-05/0.7947, allocations: 38.61 kB / 1.109 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/0.7948, allocations: 12.92 kB / 1.109 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.7948, allocations: 0 / 1.109 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.7948, allocations: 30.56 kB / 1.109 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 2.324e-06/0.7948, allocations: 3.984 kB / 1.109 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001684/0.795, allocations: 49.62 kB / 1.109 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.795, allocations: 51.44 kB / 1.109 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.957e-05/0.7951, allocations: 101 kB / 1.109 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.7951, allocations: 25.7 kB / 1.109 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/0.7952, allocations: 84.7 kB / 1.109 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.7952, allocations: 4 kB / 1.109 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.7952, allocations: 0 / 1.109 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.7953, allocations: 322.7 kB / 1.109 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.098e-05/0.7954, allocations: 8 kB / 1.109 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.366e-05/0.7954, allocations: 21.72 kB / 1.109 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.191e-05/0.7954, allocations: 4 kB / 1.109 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7954, allocations: 0.6562 kB / 1.109 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.98e-05/0.7955, allocations: 49.62 kB / 1.109 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.794e-05/0.7956, allocations: 93 kB / 1.109 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.7956, allocations: 4 kB / 1.109 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.7956, allocations: 7.844 kB / 1.109 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.7958, allocations: 20.11 kB / 1.109 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.7958, allocations: 2.891 kB / 1.109 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.7959, allocations: 28.77 kB / 1.109 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.7959, allocations: 3.984 kB / 1.109 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.452e-06/0.7959, allocations: 4 kB / 1.109 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 4e-05/0.796, allocations: 12 kB / 1.109 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-06/0.796, allocations: 0 / 1.109 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-06/0.796, allocations: 0 / 1.109 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.385e-05/0.7961, allocations: 16.02 kB / 1.109 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-06/0.7961, allocations: 0 / 1.109 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.989e-05/0.7961, allocations: 12 kB / 1.109 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.7961, allocations: 4.641 kB / 1.109 GB, free: 8.16 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 (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.149e-05/0.7962, allocations: 108.8 kB / 1.11 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.7962, allocations: 8 kB / 1.11 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.7963, allocations: 3.625 kB / 1.11 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.7963, allocations: 0 / 1.11 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.7963, allocations: 256 / 1.11 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.7963, allocations: 3.906 kB / 1.11 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.7965, allocations: 151 kB / 1.11 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7965, allocations: 0 / 1.11 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.323e-05/0.7966, allocations: 19.98 kB / 1.11 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.7966, allocations: 4 kB / 1.11 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.7966, allocations: 0 / 1.11 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.7966, allocations: 0 / 1.11 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.7966, allocations: 0 / 1.11 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001135/0.7967, allocations: 139.5 kB / 1.11 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002166/0.7969, allocations: 0.5194 MB / 1.11 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.797, allocations: 77.11 kB / 1.11 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.797, allocations: 4 kB / 1.11 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.7972, allocations: 23.92 kB / 1.111 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.7972, allocations: 3.984 kB / 1.111 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.7972, allocations: 0 / 1.111 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.892e-05/0.7972, allocations: 83.28 kB / 1.111 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001436/0.7987, allocations: 8 kB / 1.111 GB, free: 6.914 MB / 0.7136 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.0001266/0.7988, allocations: 103.2 kB / 1.111 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.7989, allocations: 31.98 kB / 1.111 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7989, allocations: 4.062 kB / 1.111 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.917e-05/0.799, allocations: 15.94 kB / 1.111 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.7991, allocations: 5.219 kB / 1.111 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002587/0.7994, allocations: 75.91 kB / 1.111 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/0.7997, allocations: 0.6958 MB / 1.112 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of SimCode: time 3.01e-07/0.7997, allocations: 0 / 1.112 GB, free: 5.93 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe 2>&1)