Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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_gal,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_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 8.0.0/package.mo): time 2.127/2.127, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.001601/0.001601, allocations: 185.2 kB / 360.3 MB, free: 7.527 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.666/1.666, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001216/0.001216, allocations: 92.72 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2453/0.2465, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5657/0.8123, allocations: 115.2 MB / 0.9627 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2072/1.02, allocations: 136.6 MB / 1.096 GB, free: 4.258 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/1.02, allocations: 64.62 kB / 1.096 GB, free: 4.195 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.004452/1.024, allocations: 1.204 MB / 1.097 GB, free: 2.977 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/1.024, allocations: 9.312 kB / 1.097 GB, free: 2.969 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.321e-05/1.025, allocations: 13.88 kB / 1.097 GB, free: 2.957 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/1.025, allocations: 183.6 kB / 1.098 GB, free: 2.738 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/1.025, allocations: 4 kB / 1.098 GB, free: 2.734 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/1.025, allocations: 4.875 kB / 1.098 GB, free: 2.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001424/1.025, allocations: 32 kB / 1.098 GB, free: 2.699 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/1.025, allocations: 89.12 kB / 1.098 GB, free: 2.602 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/1.025, allocations: 0 / 1.098 GB, free: 2.602 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/1.025, allocations: 0.5312 kB / 1.098 GB, free: 2.602 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/1.025, allocations: 0 / 1.098 GB, free: 2.602 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006869/1.026, allocations: 417.9 kB / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.123e-05/1.026, allocations: 42.58 kB / 1.098 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.536e-05/1.026, allocations: 18.34 kB / 1.098 GB, free: 2.074 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/1.026, allocations: 4.297 kB / 1.098 GB, free: 2.074 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/1.026, allocations: 31.59 kB / 1.098 GB, free: 2.035 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/1.026, allocations: 0 / 1.098 GB, free: 2.035 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001982/1.026, allocations: 50.08 kB / 1.098 GB, free: 1.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/1.026, allocations: 78.17 kB / 1.098 GB, free: 1.887 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/1.027, allocations: 129 kB / 1.098 GB, free: 1.758 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/1.027, allocations: 25.7 kB / 1.098 GB, free: 1.727 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.827e-05/1.027, allocations: 112.6 kB / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.138e-05/1.027, allocations: 7.891 kB / 1.099 GB, free: 1.605 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/1.027, allocations: 1.188 kB / 1.099 GB, free: 1.605 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001554/1.027, allocations: 321.4 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.602e-05/1.027, allocations: 0.7812 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.989e-05/1.027, allocations: 22.22 kB / 1.099 GB, free: 1.258 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.011e-05/1.027, allocations: 16.05 kB / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/1.027, allocations: 0 / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000134/1.027, allocations: 57.55 kB / 1.099 GB, free: 1.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/1.027, allocations: 8 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/1.027, allocations: 0 / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/1.027, allocations: 0 / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/1.027, allocations: 7.984 kB / 1.099 GB, free: 1.164 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/1.027, allocations: 4.219 kB / 1.099 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.678e-05/1.027, allocations: 11.91 kB / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/1.027, allocations: 3.938 kB / 1.099 GB, free: 1.145 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.528e-05/1.027, allocations: 108.8 kB / 1.099 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/1.028, allocations: 5.594 kB / 1.099 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/1.028, allocations: 11.59 kB / 1.099 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/1.028, allocations: 0.7031 kB / 1.099 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.028, allocations: 0 / 1.099 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/1.028, allocations: 4 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004799/1.028, allocations: 451.3 kB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/1.028, allocations: 0 / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.455e-05/1.028, allocations: 4 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/1.028, allocations: 3.984 kB / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/1.028, allocations: 0 / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/1.028, allocations: 3.938 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.028, allocations: 0 / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001199/1.028, allocations: 91.59 kB / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003064/1.029, allocations: 474.1 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/1.029, allocations: 85.94 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/1.029, allocations: 4 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.618e-05/1.029, allocations: 3.938 kB / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/1.029, allocations: 3.906 kB / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/1.029, allocations: 0 / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.04e-05/1.029, allocations: 108.7 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001104/1.03, allocations: 11.91 kB / 1.1 GB, free: 15.67 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.0001372/1.03, allocations: 102 kB / 1.1 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.816e-05/1.03, allocations: 16 kB / 1.1 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.03, allocations: 0 / 1.1 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.741e-05/1.03, allocations: 7.938 kB / 1.1 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/1.031, allocations: 10.44 kB / 1.1 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/1.031, allocations: 105.1 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003261/1.031, allocations: 0.7116 MB / 1.101 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of SimCode: time 2.665e-06/1.031, allocations: 0 / 1.101 GB, free: 14.67 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)