Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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_bar,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",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.137/2.137, allocations: 284.8 MB / 292.1 MB, free: 10.76 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.001586/0.001586, allocations: 173.3 kB / 360.3 MB, free: 7.559 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.635/1.635, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001231/0.001231, allocations: 98.22 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2407/0.242, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5679/0.8099, allocations: 115.2 MB / 0.9627 GB, free: 78.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2066/1.017, allocations: 136.6 MB / 1.096 GB, free: 4.293 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/1.017, allocations: 64.62 kB / 1.096 GB, free: 4.23 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.004314/1.021, allocations: 1.201 MB / 1.097 GB, free: 3.016 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/1.021, allocations: 12.5 kB / 1.097 GB, free: 3.004 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/1.021, allocations: 11.81 kB / 1.097 GB, free: 2.992 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/1.022, allocations: 188.6 kB / 1.098 GB, free: 2.773 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/1.022, allocations: 3.984 kB / 1.098 GB, free: 2.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/1.022, allocations: 4 kB / 1.098 GB, free: 2.766 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001377/1.022, allocations: 34 kB / 1.098 GB, free: 2.734 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/1.022, allocations: 83.88 kB / 1.098 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/1.022, allocations: 0 / 1.098 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/1.022, allocations: 2.156 kB / 1.098 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/1.022, allocations: 5 kB / 1.098 GB, free: 2.637 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000679/1.023, allocations: 416.7 kB / 1.098 GB, free: 2.191 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.079e-05/1.023, allocations: 38.97 kB / 1.098 GB, free: 2.137 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.071e-05/1.023, allocations: 13.72 kB / 1.098 GB, free: 2.117 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/1.023, allocations: 8.609 kB / 1.098 GB, free: 2.113 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.772e-05/1.023, allocations: 31.25 kB / 1.098 GB, free: 2.074 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/1.023, allocations: 0.5312 kB / 1.098 GB, free: 2.074 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002025/1.023, allocations: 54.94 kB / 1.098 GB, free: 2.016 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/1.023, allocations: 77.11 kB / 1.098 GB, free: 1.922 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/1.023, allocations: 126.1 kB / 1.098 GB, free: 1.793 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/1.024, allocations: 27.45 kB / 1.098 GB, free: 1.762 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/1.024, allocations: 108 kB / 1.099 GB, free: 1.652 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.073e-05/1.024, allocations: 7.906 kB / 1.099 GB, free: 1.645 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/1.024, allocations: 0 / 1.099 GB, free: 1.645 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.024, allocations: 322 kB / 1.099 GB, free: 1.324 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.139e-05/1.024, allocations: 8.594 kB / 1.099 GB, free: 1.316 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.692e-05/1.024, allocations: 14.56 kB / 1.099 GB, free: 1.297 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.872e-05/1.024, allocations: 12.72 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.024, allocations: 4.062 kB / 1.099 GB, free: 1.281 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001377/1.024, allocations: 61.53 kB / 1.099 GB, free: 1.215 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/1.024, allocations: 4 kB / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.024, allocations: 0 / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/1.024, allocations: 4.938 kB / 1.099 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.955e-05/1.024, allocations: 4.703 kB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/1.024, allocations: 0 / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.21e-05/1.024, allocations: 7.844 kB / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/1.024, allocations: 4 kB / 1.099 GB, free: 1.191 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 8.131e-05/1.024, allocations: 108.8 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/1.024, allocations: 7.906 kB / 1.099 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.206e-05/1.025, allocations: 15.58 kB / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.025, allocations: 3.938 kB / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.025, allocations: 0 / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/1.025, allocations: 3.969 kB / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005103/1.025, allocations: 451.4 kB / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/1.025, allocations: 0 / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/1.025, allocations: 4 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/1.025, allocations: 3.938 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/1.025, allocations: 4 kB / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.025, allocations: 0 / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.025, allocations: 3.344 kB / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001322/1.025, allocations: 95.55 kB / 1.1 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002808/1.026, allocations: 468 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.344e-05/1.026, allocations: 85.02 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/1.026, allocations: 4.062 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.609e-05/1.026, allocations: 0 / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/1.026, allocations: 7.906 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/1.026, allocations: 0 / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.737e-05/1.026, allocations: 107.3 kB / 1.1 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001059/1.027, allocations: 11.91 kB / 1.1 GB, free: 15.71 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.0001343/1.027, allocations: 95.25 kB / 1.1 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001072/1.027, allocations: 16.06 kB / 1.1 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.027, allocations: 4.062 kB / 1.1 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.51e-05/1.027, allocations: 11.92 kB / 1.1 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/1.028, allocations: 5.859 kB / 1.1 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/1.028, allocations: 105.4 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004149/1.028, allocations: 0.716 MB / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/1.028, allocations: 0 / 1.101 GB, free: 14.7 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1)