Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",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.379/1.379, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.001008/0.001008, allocations: 188.7 kB / 366.3 MB, free: 2 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.057/1.057, allocations: 205.2 MB / 0.6256 GB, free: 5.836 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.0009254/0.0009255, allocations: 82 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2012/0.2021, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4495/0.6517, allocations: 116.3 MB / 0.9727 GB, free: 68.47 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1401/0.7918, allocations: 137.2 MB / 1.107 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/0.792, allocations: 71.89 kB / 1.107 GB, free: 11.18 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005559/0.7926, allocations: 372.8 kB / 1.107 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.7926, allocations: 8 kB / 1.107 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.301e-05/0.7927, allocations: 0.5625 kB / 1.107 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.512e-05/0.7928, allocations: 167 kB / 1.107 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.7928, allocations: 0.7812 kB / 1.107 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-06/0.7928, allocations: 3.984 kB / 1.107 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.46e-05/0.7929, allocations: 4.531 kB / 1.107 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.371e-05/0.7929, allocations: 26.3 kB / 1.107 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.7929, allocations: 9.531 kB / 1.107 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.7929, allocations: 3.984 kB / 1.107 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.7929, allocations: 0 / 1.107 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002373/0.7932, allocations: 360.6 kB / 1.108 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.933e-05/0.7932, allocations: 170.5 kB / 1.108 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.75e-05/0.7933, allocations: 80.95 kB / 1.108 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.7933, allocations: 75.91 kB / 1.108 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.7933, allocations: 106.7 kB / 1.108 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.7934, allocations: 5.219 kB / 1.108 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.8e-05/0.7934, allocations: 29.7 kB / 1.108 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.7935, allocations: 55.41 kB / 1.108 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.492e-05/0.7935, allocations: 89 kB / 1.108 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.7935, allocations: 25.7 kB / 1.108 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.039e-05/0.7936, allocations: 80.14 kB / 1.108 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.102e-06/0.7936, allocations: 0 / 1.108 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-07/0.7936, allocations: 0.5625 kB / 1.108 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.203e-05/0.7937, allocations: 321.3 kB / 1.109 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.106e-06/0.7937, allocations: 4.125 kB / 1.109 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.374e-06/0.7937, allocations: 0 / 1.109 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.925e-05/0.7937, allocations: 79.28 kB / 1.109 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.127e-05/0.7937, allocations: 75.28 kB / 1.109 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.077e-05/0.7938, allocations: 31.33 kB / 1.109 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.7938, allocations: 8 kB / 1.109 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/0.7938, allocations: 75.28 kB / 1.109 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.348e-05/0.7939, allocations: 150.6 kB / 1.109 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.021e-05/0.7939, allocations: 87.22 kB / 1.109 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.745e-05/0.794, allocations: 150.6 kB / 1.109 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.915e-05/0.794, allocations: 83.27 kB / 1.109 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.794, allocations: 83.16 kB / 1.109 GB, free: 8.23 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 (0): * Single equations (assignments): 0 * 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 8.234e-05/0.7941, allocations: 255.5 kB / 1.11 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.7942, allocations: 105 kB / 1.11 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/0.7942, allocations: 108 kB / 1.11 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.413e-05/0.7943, allocations: 180.2 kB / 1.11 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.513e-05/0.7943, allocations: 180.2 kB / 1.11 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.612e-05/0.7944, allocations: 180.6 kB / 1.11 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.7945, allocations: 385.7 kB / 1.111 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.029e-05/0.7946, allocations: 106.3 kB / 1.111 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.566e-05/0.7946, allocations: 105 kB / 1.111 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.721e-05/0.7947, allocations: 184.1 kB / 1.111 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.126e-05/0.7947, allocations: 181 kB / 1.111 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.424e-05/0.7948, allocations: 176.3 kB / 1.112 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.267e-05/0.7948, allocations: 184.2 kB / 1.112 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.717e-05/0.7949, allocations: 303.8 kB / 1.112 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001803/0.7951, allocations: 0.6723 MB / 1.113 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.7952, allocations: 186.1 kB / 1.113 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.19e-05/0.7952, allocations: 180.2 kB / 1.113 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.322e-05/0.7953, allocations: 105 kB / 1.113 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.7954, allocations: 177 kB / 1.113 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.7954, allocations: 112.9 kB / 1.113 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.614e-05/0.7954, allocations: 83.28 kB / 1.113 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007997/0.7962, allocations: 3.906 kB / 1.113 GB, free: 3.918 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 (0): * Single equations (assignments): 0 * 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.0001175/0.7964, allocations: 174.5 kB / 1.114 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 2.384e-05/0.7964, allocations: 0 / 1.114 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.7964, allocations: 0 / 1.114 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.82e-07/0.7964, allocations: 0 / 1.114 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.7966, allocations: 0.5263 MB / 1.114 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001486/0.7968, allocations: 123.3 kB / 1.114 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/0.797, allocations: 0.6841 MB / 1.115 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of SimCode: time 3.4e-07/0.797, allocations: 0 / 1.115 GB, free: 2.352 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)