Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [: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.333/1.333, allocations: 289.8 MB / 297.1 MB, free: 6.703 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.0008892/0.0008892, allocations: 173.3 kB / 366.3 MB, free: 1.988 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.051/1.051, allocations: 205.1 MB / 0.6256 GB, free: 7.449 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.0008003/0.0008003, allocations: 81.17 kB / 0.7395 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.422e-06/6.443e-06, allocations: 0 / 0.859 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4393, allocations: 116.3 MB / 0.9726 GB, free: 75.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/0.5777, allocations: 137.7 MB / 1.107 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/0.5779, allocations: 60.59 kB / 1.107 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.00249/0.5804, allocations: 0.8447 MB / 1.108 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.5805, allocations: 4 kB / 1.108 GB, free: 11.73 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0002894/0.5808, allocations: 363.3 kB / 1.108 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.5808, allocations: 8.031 kB / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.5808, allocations: 12.53 kB / 1.108 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.581, allocations: 178.9 kB / 1.108 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.581, allocations: 5.156 kB / 1.108 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.581, allocations: 5.312 kB / 1.109 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.269e-05/0.5811, allocations: 35.94 kB / 1.109 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.5813, allocations: 81.34 kB / 1.109 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.5813, allocations: 3.984 kB / 1.109 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.5813, allocations: 0 / 1.109 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.5813, allocations: 4.562 kB / 1.109 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.5818, allocations: 419.1 kB / 1.109 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.528e-05/0.5819, allocations: 42.81 kB / 1.109 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.775e-05/0.5819, allocations: 13.84 kB / 1.109 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.5819, allocations: 0.6875 kB / 1.109 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.582, allocations: 35.84 kB / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.582, allocations: 0.5938 kB / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001532/0.5821, allocations: 50.16 kB / 1.109 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.5822, allocations: 77.7 kB / 1.109 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.5823, allocations: 131.7 kB / 1.109 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.5823, allocations: 25.7 kB / 1.109 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.5824, allocations: 108.5 kB / 1.109 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.052e-06/0.5824, allocations: 4.625 kB / 1.109 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.5824, allocations: 0 / 1.109 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.729e-05/0.5825, allocations: 323.5 kB / 1.11 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.801e-05/0.5825, allocations: 8.656 kB / 1.11 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.021e-05/0.5826, allocations: 18.5 kB / 1.11 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.404e-05/0.5826, allocations: 12.56 kB / 1.11 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5826, allocations: 0.5 kB / 1.11 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.288e-05/0.5827, allocations: 58.69 kB / 1.11 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.5827, allocations: 4 kB / 1.11 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.5827, allocations: 4.078 kB / 1.11 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.5827, allocations: 0 / 1.11 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.673e-05/0.5828, allocations: 14.59 kB / 1.11 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.5828, allocations: 0.5938 kB / 1.11 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.969e-05/0.5828, allocations: 10.31 kB / 1.11 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.5829, allocations: 0.5625 kB / 1.11 GB, free: 9.508 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 5.678e-05/0.5829, allocations: 109.6 kB / 1.11 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.583, allocations: 8.594 kB / 1.11 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.583, allocations: 12.64 kB / 1.11 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.583, allocations: 0 / 1.11 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.583, allocations: 4 kB / 1.11 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.583, allocations: 1.625 kB / 1.11 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000344/0.5834, allocations: 456.2 kB / 1.11 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.5834, allocations: 0 / 1.11 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-05/0.5834, allocations: 5.375 kB / 1.11 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.5834, allocations: 0 / 1.11 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.5834, allocations: 0 / 1.11 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5834, allocations: 0 / 1.11 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.5834, allocations: 4 kB / 1.11 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.219e-05/0.5835, allocations: 91.58 kB / 1.111 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/0.5836, allocations: 85.02 kB / 1.111 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.5836, allocations: 0.6562 kB / 1.111 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.253e-05/0.5836, allocations: 7.984 kB / 1.111 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.232e-05/0.5837, allocations: 0 / 1.111 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.5837, allocations: 2 kB / 1.111 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.746e-05/0.5837, allocations: 99.28 kB / 1.111 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001719/0.5839, allocations: 15.84 kB / 1.111 GB, free: 8.527 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.0001076/0.584, allocations: 103.3 kB / 1.111 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.299e-05/0.5841, allocations: 16.75 kB / 1.111 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5841, allocations: 0 / 1.111 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.231e-05/0.5841, allocations: 8 kB / 1.111 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001046/0.5842, allocations: 4 kB / 1.111 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002641/0.5845, allocations: 112.5 kB / 1.111 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002523/0.5848, allocations: 0.7161 MB / 1.112 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.5848, allocations: 0 / 1.112 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of Templates: time 0.001902/0.5867, allocations: 377 kB / 1.112 GB, free: 7.172 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)