Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.22/1.22, allocations: 249.4 MB / 256.7 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009994/0.0009994, allocations: 188.5 kB / 316 MB, free: 3.594 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.139/1.139, allocations: 205.2 MB / 0.5667 GB, free: 15.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008459/0.0008459, allocations: 92.62 kB / 0.671 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3568/0.3577, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.5385, allocations: 106.3 MB / 0.8847 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4892/1.028, allocations: 131.6 MB / 1.013 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001789/1.028, allocations: 67.48 kB / 1.013 GB, free: 7.191 MB / 0.6355 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.002721/1.031, allocations: 1.198 MB / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/1.031, allocations: 12 kB / 1.014 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/1.031, allocations: 8.656 kB / 1.014 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/1.031, allocations: 186.8 kB / 1.015 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/1.031, allocations: 4 kB / 1.015 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/1.031, allocations: 4 kB / 1.015 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.048e-05/1.031, allocations: 38.16 kB / 1.015 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/1.031, allocations: 81.81 kB / 1.015 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/1.031, allocations: 0 / 1.015 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/1.031, allocations: 3.984 kB / 1.015 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/1.031, allocations: 7.938 kB / 1.015 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004925/1.032, allocations: 410.9 kB / 1.015 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.94e-05/1.032, allocations: 44.56 kB / 1.015 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.616e-05/1.032, allocations: 13.16 kB / 1.015 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.874e-06/1.032, allocations: 4.062 kB / 1.015 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/1.032, allocations: 35.41 kB / 1.015 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/1.032, allocations: 0 / 1.015 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001559/1.032, allocations: 49.25 kB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/1.032, allocations: 87.64 kB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.893e-05/1.032, allocations: 119.5 kB / 1.016 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/1.032, allocations: 25.7 kB / 1.016 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/1.032, allocations: 106.6 kB / 1.016 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.684e-06/1.032, allocations: 7.906 kB / 1.016 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/1.032, allocations: 0 / 1.016 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.133e-05/1.032, allocations: 318.3 kB / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/1.032, allocations: 9.938 kB / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.003e-05/1.032, allocations: 21.53 kB / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.115e-05/1.032, allocations: 8 kB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.032, allocations: 3.906 kB / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.671e-05/1.033, allocations: 55.94 kB / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.447e-06/1.033, allocations: 6.188 kB / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.033, allocations: 0.7031 kB / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/1.033, allocations: 7.906 kB / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.428e-05/1.033, allocations: 8.062 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/1.033, allocations: 0 / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.91e-05/1.033, allocations: 3.938 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/1.033, allocations: 4 kB / 1.016 GB, free: 4.363 MB / 0.6355 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 5.606e-05/1.033, allocations: 104.6 kB / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/1.033, allocations: 13.77 kB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/1.033, allocations: 11.64 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/1.033, allocations: 3.984 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.033, allocations: 3.906 kB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/1.033, allocations: 4.219 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/1.033, allocations: 450.1 kB / 1.017 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.033, allocations: 3.938 kB / 1.017 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.374e-05/1.033, allocations: 4 kB / 1.017 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/1.033, allocations: 0 / 1.017 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/1.033, allocations: 4 kB / 1.017 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/1.033, allocations: 0 / 1.017 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.033, allocations: 8 kB / 1.017 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.789e-05/1.033, allocations: 86.36 kB / 1.017 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001709/1.034, allocations: 471.1 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/1.034, allocations: 92.64 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/1.034, allocations: 0.5 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.187e-05/1.034, allocations: 0 / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.559e-05/1.034, allocations: 11.92 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/1.034, allocations: 4 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.547e-05/1.034, allocations: 101.2 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007111/1.034, allocations: 15.94 kB / 1.017 GB, free: 2.914 MB / 0.6355 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 9.759e-05/1.035, allocations: 99.23 kB / 1.018 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.647e-05/1.035, allocations: 15.94 kB / 1.018 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.035, allocations: 0 / 1.018 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-05/1.035, allocations: 11.12 kB / 1.018 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.753e-05/1.035, allocations: 7.984 kB / 1.018 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002465/1.035, allocations: 111.7 kB / 1.018 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/1.035, allocations: 0.7075 MB / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/1.035, allocations: 4 kB / 1.018 GB, free: 1.914 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1)