Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.From_Btu,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",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.293/1.293, allocations: 285.5 MB / 292.8 MB, free: 10.31 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.0008827/0.0008827, allocations: 177.3 kB / 361.1 MB, free: 6.965 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.003/1.003, allocations: 205.1 MB / 0.6195 GB, free: 10.14 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.0007957/0.0007958, allocations: 86.7 kB / 0.7325 GB, free: 44.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1813/0.1822, allocations: 121.5 MB / 0.8512 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.5905, allocations: 115.3 MB / 0.9638 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1293/0.7199, allocations: 136.8 MB / 1.097 GB, free: 3.07 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001685/0.7201, allocations: 65.38 kB / 1.097 GB, free: 3.008 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.002584/0.7227, allocations: 1.194 MB / 1.099 GB, free: 1.797 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.7227, allocations: 12 kB / 1.099 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.7227, allocations: 11.81 kB / 1.099 GB, free: 1.773 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.7229, allocations: 182.8 kB / 1.099 GB, free: 1.555 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.7229, allocations: 4.859 kB / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.7229, allocations: 8 kB / 1.099 GB, free: 1.543 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.995e-05/0.723, allocations: 30.91 kB / 1.099 GB, free: 1.516 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.7231, allocations: 80.25 kB / 1.099 GB, free: 1.426 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.7231, allocations: 4 kB / 1.099 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.7232, allocations: 2.172 kB / 1.099 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.7232, allocations: 0 / 1.099 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.7236, allocations: 421.5 kB / 1.099 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.555e-05/0.7237, allocations: 41.12 kB / 1.099 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.7237, allocations: 15.97 kB / 1.099 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.7237, allocations: 0 / 1.099 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.7238, allocations: 35.11 kB / 1.099 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.7238, allocations: 0 / 1.099 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001449/0.7239, allocations: 49.59 kB / 1.099 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.724, allocations: 79.08 kB / 1.099 GB, free: 0.707 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.113e-05/0.7241, allocations: 124.3 kB / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.7241, allocations: 26.39 kB / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/0.7241, allocations: 110.3 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.362e-06/0.7241, allocations: 15.84 kB / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.7241, allocations: 0 / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.807e-05/0.7242, allocations: 317.4 kB / 1.1 GB, free: 108 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.7243, allocations: 8 kB / 1.1 GB, free: 100 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.133e-05/0.7243, allocations: 22.34 kB / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.076e-05/0.7243, allocations: 8.844 kB / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.7243, allocations: 0.7812 kB / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.084e-05/0.7244, allocations: 56.53 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.7244, allocations: 7.281 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.7244, allocations: 5.219 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.7245, allocations: 3.938 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.311e-05/0.7245, allocations: 4.938 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.7245, allocations: 0 / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.071e-05/0.7246, allocations: 16.31 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.7246, allocations: 0.75 kB / 1.1 GB, free: 15.97 MB / 0.7136 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.955e-05/0.7246, allocations: 101.9 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.7247, allocations: 7.906 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.7247, allocations: 17.38 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.7247, allocations: 0.6875 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.7247, allocations: 0 / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.7247, allocations: 0.8125 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.7251, allocations: 453.1 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.7251, allocations: 4 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.401e-05/0.7251, allocations: 0 / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.7251, allocations: 8.188 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-06/0.7251, allocations: 0 / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.7251, allocations: 1.562 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.7251, allocations: 0 / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.797e-05/0.7252, allocations: 91.45 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000146/0.7254, allocations: 472 kB / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.7254, allocations: 85.02 kB / 1.101 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.7254, allocations: 4 kB / 1.101 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.154e-05/0.7255, allocations: 0 / 1.101 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.7255, allocations: 7.938 kB / 1.101 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.7255, allocations: 0 / 1.101 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.449e-05/0.7256, allocations: 103.3 kB / 1.101 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000708/0.7263, allocations: 11.91 kB / 1.101 GB, free: 14.51 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.698e-05/0.7264, allocations: 102.1 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.239e-05/0.7264, allocations: 23.92 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.7264, allocations: 0 / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.241e-05/0.7265, allocations: 8.188 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.132e-05/0.7266, allocations: 9.188 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002347/0.7268, allocations: 117.1 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.727, allocations: 0.7075 MB / 1.102 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.727, allocations: 3.938 kB / 1.102 GB, free: 13.48 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)