Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_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.41/1.41, allocations: 289.8 MB / 297.1 MB, free: 6.695 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.00107/0.00107, allocations: 181.3 kB / 366.3 MB, free: 2.016 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.844 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.0008369/0.0008369, allocations: 94.17 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1997/0.2006, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.6496, allocations: 116.3 MB / 0.9727 GB, free: 68.43 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1409/0.7905, allocations: 137.3 MB / 1.107 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001779/0.7907, allocations: 64.66 kB / 1.107 GB, free: 11.15 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.0005509/0.7913, allocations: 368.6 kB / 1.107 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.7913, allocations: 15.98 kB / 1.107 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.29e-05/0.7913, allocations: 0 / 1.107 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.986e-05/0.7915, allocations: 165.9 kB / 1.107 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-06/0.7915, allocations: 0.5 kB / 1.107 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.7915, allocations: 0 / 1.107 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.619e-05/0.7915, allocations: 6.219 kB / 1.107 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.311e-05/0.7916, allocations: 25.7 kB / 1.107 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.7916, allocations: 1.375 kB / 1.107 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-06/0.7916, allocations: 0.6562 kB / 1.107 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.7916, allocations: 0 / 1.107 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002299/0.7918, allocations: 369.9 kB / 1.108 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.809e-05/0.7919, allocations: 165.9 kB / 1.108 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.721e-05/0.7919, allocations: 80.73 kB / 1.108 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.792, allocations: 75.97 kB / 1.108 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.792, allocations: 114.6 kB / 1.108 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.243e-06/0.792, allocations: 1.188 kB / 1.108 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 5.877e-05/0.7921, allocations: 30.27 kB / 1.108 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.7921, allocations: 55.39 kB / 1.108 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.176e-05/0.7922, allocations: 86.28 kB / 1.108 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.7922, allocations: 25.7 kB / 1.108 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.7922, allocations: 80.89 kB / 1.108 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.002e-06/0.7923, allocations: 6.031 kB / 1.108 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-07/0.7923, allocations: 0 / 1.108 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.564e-05/0.7923, allocations: 318 kB / 1.109 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.266e-06/0.7924, allocations: 0.7188 kB / 1.109 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.454e-06/0.7924, allocations: 0 / 1.109 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.979e-05/0.7924, allocations: 75.81 kB / 1.109 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-05/0.7924, allocations: 76 kB / 1.109 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.052e-05/0.7925, allocations: 29.7 kB / 1.109 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.7925, allocations: 4.562 kB / 1.109 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/0.7925, allocations: 79.72 kB / 1.109 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.047e-05/0.7926, allocations: 162.7 kB / 1.109 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.252e-05/0.7926, allocations: 79.91 kB / 1.109 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.657e-05/0.7927, allocations: 155.9 kB / 1.109 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.304e-05/0.7927, allocations: 75.28 kB / 1.109 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.7928, allocations: 79.22 kB / 1.109 GB, free: 8.223 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 9.434e-05/0.7929, allocations: 267.4 kB / 1.11 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/0.7929, allocations: 101 kB / 1.11 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.04e-05/0.793, allocations: 108.8 kB / 1.11 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.738e-05/0.793, allocations: 176.3 kB / 1.11 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.133e-05/0.7931, allocations: 184.2 kB / 1.11 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-05/0.7932, allocations: 180.6 kB / 1.11 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.7933, allocations: 389.7 kB / 1.111 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-05/0.7934, allocations: 102.3 kB / 1.111 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.908e-05/0.7934, allocations: 105.8 kB / 1.111 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.016e-05/0.7934, allocations: 180.2 kB / 1.111 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/0.7935, allocations: 180.2 kB / 1.111 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.895e-05/0.7936, allocations: 184.2 kB / 1.112 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.794e-05/0.7936, allocations: 185.2 kB / 1.112 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000118/0.7937, allocations: 295.8 kB / 1.112 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002148/0.794, allocations: 0.6807 MB / 1.113 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.794, allocations: 186.1 kB / 1.113 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.371e-05/0.7941, allocations: 180.2 kB / 1.113 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.677e-05/0.7942, allocations: 105 kB / 1.113 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.7942, allocations: 176.3 kB / 1.113 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.7943, allocations: 109.5 kB / 1.113 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.51e-05/0.7943, allocations: 83.28 kB / 1.113 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007884/0.7951, allocations: 3.906 kB / 1.113 GB, free: 3.902 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.0001211/0.7952, allocations: 174.5 kB / 1.114 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 2.354e-05/0.7952, allocations: 1.125 kB / 1.114 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.7952, allocations: 0 / 1.114 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.7953, allocations: 0 / 1.114 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.7955, allocations: 0.525 MB / 1.114 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001423/0.7957, allocations: 127.3 kB / 1.114 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.7959, allocations: 0.6841 MB / 1.115 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.7959, allocations: 0 / 1.115 GB, free: 2.332 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1)