Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_gal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.257/1.257, allocations: 249.4 MB / 256.7 MB, free: 7 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.001064/0.001064, allocations: 177.3 kB / 316 MB, free: 3.527 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.195/1.195, allocations: 205.1 MB / 0.5667 GB, free: 15.65 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.000779/0.0007789, allocations: 88.47 kB / 0.671 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3379/0.3388, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.5, allocations: 106.3 MB / 0.8847 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4625/0.9626, allocations: 131.7 MB / 1.013 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/0.9628, allocations: 70.64 kB / 1.013 GB, free: 6.789 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.002916/0.9657, allocations: 1.207 MB / 1.014 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.9658, allocations: 8 kB / 1.014 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.9658, allocations: 11.84 kB / 1.015 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.966, allocations: 178.2 kB / 1.015 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.966, allocations: 4 kB / 1.015 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.966, allocations: 8 kB / 1.015 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.585e-05/0.9661, allocations: 36.03 kB / 1.015 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.9662, allocations: 83.95 kB / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.9663, allocations: 0.8438 kB / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.9663, allocations: 0 / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.9663, allocations: 0 / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005409/0.9668, allocations: 418.6 kB / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.323e-05/0.9669, allocations: 37.34 kB / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.683e-05/0.9669, allocations: 21.22 kB / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.9669, allocations: 0 / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.967, allocations: 34.47 kB / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.967, allocations: 0 / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001448/0.9671, allocations: 49.2 kB / 1.015 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.9672, allocations: 87.69 kB / 1.015 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.413e-05/0.9673, allocations: 121.6 kB / 1.016 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.9673, allocations: 29.69 kB / 1.016 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.9673, allocations: 111.2 kB / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.49e-06/0.9673, allocations: 3.906 kB / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/0.9674, allocations: 0 / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.577e-05/0.9674, allocations: 314.2 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.9675, allocations: 10.12 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.444e-05/0.9675, allocations: 29.45 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.177e-05/0.9675, allocations: 6.625 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.9675, allocations: 3.906 kB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.952e-05/0.9676, allocations: 52.39 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.9676, allocations: 4 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.9677, allocations: 7.984 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.9677, allocations: 3.906 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.966e-05/0.9678, allocations: 4 kB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.9678, allocations: 4.062 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.023e-05/0.9678, allocations: 7.938 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.9678, allocations: 0.7031 kB / 1.016 GB, free: 3.961 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.567e-05/0.9679, allocations: 101 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.9679, allocations: 7.906 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.968, allocations: 15.05 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.968, allocations: 3.984 kB / 1.016 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.968, allocations: 3.906 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.968, allocations: 4.156 kB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.9683, allocations: 453.7 kB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.9683, allocations: 7.938 kB / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.283e-05/0.9684, allocations: 0 / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.9684, allocations: 4 kB / 1.017 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.9684, allocations: 0 / 1.017 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.9684, allocations: 7.375 kB / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.9684, allocations: 0 / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001108/0.9685, allocations: 90.73 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001594/0.9687, allocations: 470.7 kB / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/0.9687, allocations: 85.09 kB / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.9687, allocations: 7.938 kB / 1.017 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.337e-05/0.9688, allocations: 3.984 kB / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.9688, allocations: 0 / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.9688, allocations: 0 / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.946e-05/0.9689, allocations: 107.8 kB / 1.017 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007813/0.9697, allocations: 11.91 kB / 1.017 GB, free: 2.52 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 0.000124/0.9698, allocations: 103.2 kB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.638e-05/0.9699, allocations: 15.19 kB / 1.018 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.9699, allocations: 3.25 kB / 1.018 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.477e-05/0.9699, allocations: 7.938 kB / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001162/0.97, allocations: 10.39 kB / 1.018 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002778/0.9703, allocations: 110.6 kB / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.9706, allocations: 0.7153 MB / 1.018 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/0.9706, allocations: 0 / 1.018 GB, free: 1.516 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)