Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",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.297/1.297, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009178/0.0009179, allocations: 187.6 kB / 361.1 MB, free: 7.102 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9851/0.9851, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007234/0.0007233, allocations: 98.06 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1696/0.1703, allocations: 121.4 MB / 0.8512 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.5598, allocations: 115.3 MB / 0.9637 GB, free: 77.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.6869, allocations: 136.8 MB / 1.097 GB, free: 3.227 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001613/0.6871, allocations: 69.81 kB / 1.097 GB, free: 3.16 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.002623/0.6897, allocations: 1.199 MB / 1.099 GB, free: 1.945 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.6897, allocations: 9.812 kB / 1.099 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.6898, allocations: 15.81 kB / 1.099 GB, free: 1.922 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.6899, allocations: 174.9 kB / 1.099 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.6899, allocations: 4 kB / 1.099 GB, free: 1.707 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.6899, allocations: 7.594 kB / 1.099 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.833e-05/0.69, allocations: 32.7 kB / 1.099 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.6901, allocations: 94.2 kB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.6901, allocations: 1.312 kB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.6901, allocations: 0 / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.6901, allocations: 4 kB / 1.099 GB, free: 1.566 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.6906, allocations: 409.1 kB / 1.099 GB, free: 1.129 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.789e-05/0.6906, allocations: 44.59 kB / 1.099 GB, free: 1.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.215e-05/0.6906, allocations: 18.69 kB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.772e-06/0.6907, allocations: 0.6875 kB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.6907, allocations: 37.47 kB / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.6907, allocations: 0 / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001197/0.6908, allocations: 46.3 kB / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.6908, allocations: 77.11 kB / 1.099 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.416e-05/0.6909, allocations: 121.9 kB / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.6909, allocations: 25.7 kB / 1.1 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.691, allocations: 116.6 kB / 1.1 GB, free: 0.582 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.97e-06/0.691, allocations: 4.5 kB / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-06/0.691, allocations: 0 / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.093e-05/0.6911, allocations: 322.2 kB / 1.1 GB, free: 264 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.461e-05/0.6911, allocations: 8.281 kB / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.405e-05/0.6911, allocations: 22.88 kB / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.962e-05/0.6912, allocations: 9.312 kB / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.6912, allocations: 0 / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.65e-05/0.6913, allocations: 58.86 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/0.6913, allocations: 4 kB / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.6913, allocations: 0.7188 kB / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.6913, allocations: 0 / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.284e-05/0.6913, allocations: 20.42 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-06/0.6914, allocations: 1.156 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.872e-05/0.6914, allocations: 7.844 kB / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-06/0.6914, allocations: 1.875 kB / 1.1 GB, free: 128 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 4.791e-05/0.6915, allocations: 109.9 kB / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.434e-05/0.6915, allocations: 9.016 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.765e-05/0.6915, allocations: 4.531 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.6915, allocations: 0 / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.6915, allocations: 4 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.6916, allocations: 4.578 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.6919, allocations: 445.5 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.6919, allocations: 1.625 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-05/0.6919, allocations: 11.92 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.6919, allocations: 0 / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-06/0.6919, allocations: 0 / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.6919, allocations: 0 / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6919, allocations: 4.594 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.213e-05/0.692, allocations: 90.06 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001571/0.6922, allocations: 474 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.6922, allocations: 89 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.6922, allocations: 0 / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.227e-05/0.6923, allocations: 0.9844 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.126e-05/0.6923, allocations: 3.906 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.6923, allocations: 8.031 kB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.016e-05/0.6923, allocations: 100.2 kB / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007115/0.6931, allocations: 15.91 kB / 1.101 GB, free: 14.66 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 8.223e-05/0.6932, allocations: 99.03 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.361e-05/0.6932, allocations: 20 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.6932, allocations: 0 / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.315e-05/0.6932, allocations: 7.938 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.929e-05/0.6933, allocations: 14.06 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002027/0.6935, allocations: 109.1 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.6938, allocations: 0.7113 MB / 1.102 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.6938, allocations: 0 / 1.102 GB, free: 13.65 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1)