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_gal.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_gal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",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.241/1.241, allocations: 249.4 MB / 256.7 MB, free: 7.027 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.001015/0.001015, allocations: 185.2 kB / 316 MB, free: 3.562 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.185/1.185, allocations: 205.2 MB / 0.5667 GB, free: 15.69 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.0008513/0.0008517, allocations: 97.3 kB / 0.671 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3486/0.3495, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.5192, allocations: 106.3 MB / 0.8847 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4693/0.9885, allocations: 131.7 MB / 1.013 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001854/0.9888, allocations: 71.27 kB / 1.013 GB, free: 6.879 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.002762/0.9916, allocations: 1.204 MB / 1.014 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.9916, allocations: 12 kB / 1.014 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.9916, allocations: 11.91 kB / 1.015 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.9918, allocations: 178.8 kB / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.9918, allocations: 7.984 kB / 1.015 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.9918, allocations: 4 kB / 1.015 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.055e-05/0.9919, allocations: 37.78 kB / 1.015 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.9921, allocations: 79.86 kB / 1.015 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.9921, allocations: 3.938 kB / 1.015 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.9921, allocations: 0 / 1.015 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.9921, allocations: 8 kB / 1.015 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/0.9926, allocations: 412.3 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.392e-05/0.9926, allocations: 36.34 kB / 1.015 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.612e-05/0.9927, allocations: 20.94 kB / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-06/0.9927, allocations: 0 / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.9927, allocations: 38.47 kB / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.9927, allocations: 4 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001368/0.9929, allocations: 37.14 kB / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.9929, allocations: 87.58 kB / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.862e-05/0.993, allocations: 124 kB / 1.016 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.993, allocations: 25.7 kB / 1.016 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.9931, allocations: 110.7 kB / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.621e-06/0.9931, allocations: 3.906 kB / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.9931, allocations: 0 / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.028e-05/0.9932, allocations: 322.3 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/0.9932, allocations: 9.812 kB / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.109e-05/0.9932, allocations: 20.95 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.061e-05/0.9932, allocations: 7.875 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.9933, allocations: 3.906 kB / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.505e-05/0.9933, allocations: 53.39 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.9934, allocations: 8.062 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.9934, allocations: 0 / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.9934, allocations: 7.891 kB / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.234e-05/0.9934, allocations: 8 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.9935, allocations: 0 / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.812e-05/0.9935, allocations: 3.938 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.9935, allocations: 6.875 kB / 1.016 GB, free: 4.047 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.018e-05/0.9936, allocations: 104.9 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/0.9936, allocations: 7.906 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.9936, allocations: 15.36 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.9936, allocations: 0 / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.9937, allocations: 11.89 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.9937, allocations: 224 / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/0.994, allocations: 448.5 kB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.994, allocations: 7.922 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.523e-05/0.994, allocations: 4.875 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.994, allocations: 0 / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.9941, allocations: 4.062 kB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.9941, allocations: 4 kB / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.9941, allocations: 0 / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.051e-05/0.9942, allocations: 85.94 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002158/0.9944, allocations: 471.2 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.9944, allocations: 95.88 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.9945, allocations: 0 / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.213e-05/0.9945, allocations: 0 / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.115e-05/0.9945, allocations: 4 kB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.9945, allocations: 4.031 kB / 1.017 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.218e-05/0.9946, allocations: 104.5 kB / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000716/0.9953, allocations: 11.91 kB / 1.017 GB, free: 2.605 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.51e-05/0.9954, allocations: 99.19 kB / 1.018 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.488e-05/0.9955, allocations: 18.38 kB / 1.018 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.9955, allocations: 0 / 1.018 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-05/0.9955, allocations: 4 kB / 1.018 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.895e-05/0.9956, allocations: 7.938 kB / 1.018 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.9959, allocations: 115.6 kB / 1.018 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.9961, allocations: 0.7075 MB / 1.018 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.9961, allocations: 0 / 1.018 GB, free: 1.613 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)