Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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_inH2O,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",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.117/2.117, allocations: 284.8 MB / 292.1 MB, free: 10.72 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.001561/0.001561, allocations: 193.2 kB / 360.3 MB, free: 7.504 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.618/1.618, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001177/0.001176, allocations: 87.84 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2481/0.2494, allocations: 121.4 MB / 0.8502 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5604/0.8098, allocations: 115.2 MB / 0.9627 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2059/1.016, allocations: 136.6 MB / 1.096 GB, free: 4.289 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/1.016, allocations: 65.16 kB / 1.096 GB, free: 4.227 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.004367/1.02, allocations: 1.205 MB / 1.097 GB, free: 3.008 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/1.021, allocations: 8.5 kB / 1.097 GB, free: 3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/1.021, allocations: 11.81 kB / 1.097 GB, free: 2.988 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/1.021, allocations: 180.7 kB / 1.098 GB, free: 2.773 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/1.021, allocations: 4 kB / 1.098 GB, free: 2.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/1.021, allocations: 4.594 kB / 1.098 GB, free: 2.766 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001468/1.021, allocations: 40.53 kB / 1.098 GB, free: 2.727 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/1.021, allocations: 86.45 kB / 1.098 GB, free: 2.633 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/1.021, allocations: 0.5625 kB / 1.098 GB, free: 2.633 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/1.021, allocations: 0.5 kB / 1.098 GB, free: 2.633 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/1.021, allocations: 4 kB / 1.098 GB, free: 2.629 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006983/1.022, allocations: 414 kB / 1.098 GB, free: 2.188 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.937e-05/1.022, allocations: 39.28 kB / 1.098 GB, free: 2.133 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.725e-05/1.022, allocations: 17.84 kB / 1.098 GB, free: 2.109 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.779e-06/1.022, allocations: 2.562 kB / 1.098 GB, free: 2.109 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/1.022, allocations: 31.19 kB / 1.098 GB, free: 2.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.094e-06/1.022, allocations: 5.312 kB / 1.098 GB, free: 2.066 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002035/1.022, allocations: 45.55 kB / 1.098 GB, free: 2.016 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/1.022, allocations: 77.89 kB / 1.098 GB, free: 1.922 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/1.023, allocations: 123.9 kB / 1.098 GB, free: 1.793 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/1.023, allocations: 29.7 kB / 1.098 GB, free: 1.758 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/1.023, allocations: 108.7 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/1.023, allocations: 8.547 kB / 1.099 GB, free: 1.641 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.002e-05/1.023, allocations: 0 / 1.099 GB, free: 1.641 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.023, allocations: 322.9 kB / 1.099 GB, free: 1.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.933e-05/1.023, allocations: 4.75 kB / 1.099 GB, free: 1.316 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.334e-05/1.023, allocations: 19.09 kB / 1.099 GB, free: 1.293 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.875e-05/1.023, allocations: 16.61 kB / 1.099 GB, free: 1.277 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.023, allocations: 0.9062 kB / 1.099 GB, free: 1.277 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001962/1.023, allocations: 54.2 kB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/1.023, allocations: 9.938 kB / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.023, allocations: 0 / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/1.023, allocations: 0.8438 kB / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/1.024, allocations: 9.953 kB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/1.024, allocations: 8.469 kB / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.177e-05/1.024, allocations: 14.38 kB / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-06/1.024, allocations: 0.625 kB / 1.099 GB, free: 1.184 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.421e-05/1.024, allocations: 109.8 kB / 1.099 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.886e-05/1.024, allocations: 3.906 kB / 1.099 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/1.024, allocations: 12.91 kB / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/1.024, allocations: 0.625 kB / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/1.024, allocations: 0 / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/1.024, allocations: 4.625 kB / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005765/1.025, allocations: 455.4 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.025, allocations: 0 / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.46e-05/1.025, allocations: 7.984 kB / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/1.025, allocations: 0 / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/1.025, allocations: 0 / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/1.025, allocations: 0 / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.025, allocations: 0 / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001224/1.025, allocations: 91.59 kB / 1.1 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002732/1.025, allocations: 477 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.247e-05/1.025, allocations: 91.44 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/1.025, allocations: 0 / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.625e-05/1.025, allocations: 0.6562 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/1.025, allocations: 3.906 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/1.025, allocations: 4 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.913e-05/1.025, allocations: 106.1 kB / 1.1 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001148/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.0001369/1.027, allocations: 103.2 kB / 1.1 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001074/1.027, allocations: 15.94 kB / 1.1 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.027, allocations: 3.188 kB / 1.1 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.925e-05/1.027, allocations: 4 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.0001478/1.027, allocations: 12.09 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.0003744/1.027, allocations: 105.1 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003557/1.028, allocations: 0.7155 MB / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of SimCode: time 7.02e-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_inH2O.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1)