Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_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.0/package.mo): time 2.11/2.11, allocations: 284.8 MB / 292.1 MB, free: 10.72 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.001506/0.001506, allocations: 189.2 kB / 360.3 MB, free: 7.508 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.618/1.618, allocations: 205.1 MB / 0.6187 GB, free: 12.45 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.001151/0.001151, allocations: 85.89 kB / 0.7317 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2491/0.2503, allocations: 121.4 MB / 0.8502 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5528/0.8031, allocations: 115.2 MB / 0.9627 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2079/1.011, allocations: 136.6 MB / 1.096 GB, free: 4.203 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/1.011, allocations: 69.27 kB / 1.096 GB, free: 4.137 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.004364/1.016, allocations: 1.205 MB / 1.097 GB, free: 2.918 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/1.016, allocations: 9.031 kB / 1.097 GB, free: 2.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/1.016, allocations: 15.81 kB / 1.097 GB, free: 2.895 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/1.016, allocations: 178.2 kB / 1.098 GB, free: 2.684 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/1.016, allocations: 0.875 kB / 1.098 GB, free: 2.684 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/1.016, allocations: 8.75 kB / 1.098 GB, free: 2.676 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001328/1.016, allocations: 31.94 kB / 1.098 GB, free: 2.645 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/1.017, allocations: 84.23 kB / 1.098 GB, free: 2.551 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/1.017, allocations: 4 kB / 1.098 GB, free: 2.547 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/1.017, allocations: 0 / 1.098 GB, free: 2.547 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/1.017, allocations: 3.75 kB / 1.098 GB, free: 2.547 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007151/1.017, allocations: 425.3 kB / 1.098 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.253e-05/1.017, allocations: 33.22 kB / 1.098 GB, free: 2.043 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.324e-05/1.017, allocations: 17.78 kB / 1.098 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/1.017, allocations: 1.969 kB / 1.098 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/1.018, allocations: 37.34 kB / 1.098 GB, free: 1.977 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.315e-06/1.018, allocations: 0 / 1.098 GB, free: 1.977 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000197/1.018, allocations: 46.88 kB / 1.098 GB, free: 1.926 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/1.018, allocations: 77.95 kB / 1.098 GB, free: 1.832 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/1.018, allocations: 125.6 kB / 1.098 GB, free: 1.703 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/1.018, allocations: 28.83 kB / 1.098 GB, free: 1.672 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.508e-05/1.018, allocations: 112 kB / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/1.018, allocations: 7.906 kB / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/1.018, allocations: 0 / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.018, allocations: 317.4 kB / 1.099 GB, free: 1.234 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.067e-05/1.018, allocations: 8 kB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.549e-05/1.018, allocations: 32.08 kB / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.59e-05/1.018, allocations: 4 kB / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.018, allocations: 0 / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001317/1.019, allocations: 53.61 kB / 1.099 GB, free: 1.129 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/1.019, allocations: 5.531 kB / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/1.019, allocations: 4 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/1.019, allocations: 8.391 kB / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/1.019, allocations: 4.656 kB / 1.099 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/1.019, allocations: 8.594 kB / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.404e-05/1.019, allocations: 11.84 kB / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/1.019, allocations: 0.7188 kB / 1.099 GB, free: 1.094 MB / 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 7.825e-05/1.019, allocations: 105.9 kB / 1.099 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.093e-05/1.019, allocations: 8.469 kB / 1.099 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.057e-05/1.019, allocations: 12.38 kB / 1.099 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/1.019, allocations: 0 / 1.099 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/1.019, allocations: 4.672 kB / 1.099 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/1.019, allocations: 0.8906 kB / 1.099 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005254/1.02, allocations: 444.8 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/1.02, allocations: 8.797 kB / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.493e-05/1.02, allocations: 1.312 kB / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/1.02, allocations: 4.531 kB / 1.1 GB, free: 480 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/1.02, allocations: 192 / 1.1 GB, free: 480 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/1.02, allocations: 4 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.02, allocations: 0 / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001243/1.02, allocations: 87.53 kB / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002786/1.02, allocations: 476 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/1.02, allocations: 85 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/1.02, allocations: 4 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.781e-05/1.02, allocations: 1.812 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.105e-05/1.02, allocations: 3.906 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/1.02, allocations: 4.703 kB / 1.1 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.893e-05/1.021, allocations: 108.5 kB / 1.1 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001057/1.022, allocations: 11.91 kB / 1.1 GB, free: 15.62 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 0.0001361/1.022, allocations: 95.25 kB / 1.1 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001103/1.022, allocations: 19.94 kB / 1.1 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.022, allocations: 0 / 1.1 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.12e-05/1.022, allocations: 4 kB / 1.1 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/1.022, allocations: 9.453 kB / 1.1 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/1.022, allocations: 108.1 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/1.023, allocations: 0.7196 MB / 1.101 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of SimCode: time 8.52e-07/1.023, allocations: 0 / 1.101 GB, free: 14.62 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1)