Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr TAeZoSysPro_TAeZoSysPro.HeatTransfer.BasesClasses.LumpVolume.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo) 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) Running command: "" <> buildModelFMU(TAeZoSysPro.HeatTransfer.BasesClasses.LumpVolume,fileNamePrefix="TAeZoSysPro_TAeZoSysPro_HeatTransfer_BasesClasses_LumpVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro.HeatTransfer.BasesClasses.LumpVolume,fileNamePrefix="TAeZoSysPro_TAeZoSysPro_HeatTransfer_BasesClasses_LumpVolume",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/Complex 3.2.3+maint.om/package.mo): time 0.003253/0.003252, allocations: 182.9 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.2 MB / 213.1 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008961/0.000896, allocations: 84.77 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06036/0.06036, allocations: 10.87 MB / 319.9 MB, free: 2.578 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2377/0.2981, allocations: 55.86 MB / 375.7 MB, free: 77.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.4162, allocations: 49.76 MB / 425.5 MB, free: 27.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7996/1.216, allocations: 348.1 MB / 0.7554 GB, free: 49.54 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/1.216, allocations: 68.59 kB / 0.7555 GB, free: 49.51 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.02443/1.241, allocations: 12.21 MB / 0.7674 GB, free: 39.81 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/1.241, allocations: 11.28 kB / 0.7675 GB, free: 39.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/1.241, allocations: 15.91 kB / 0.7675 GB, free: 39.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/1.241, allocations: 194.4 kB / 0.7677 GB, free: 39.56 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/1.241, allocations: 0 / 0.7677 GB, free: 39.56 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/1.241, allocations: 4 kB / 0.7677 GB, free: 39.55 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001266/1.241, allocations: 50.67 kB / 0.7677 GB, free: 39.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/1.241, allocations: 85.98 kB / 0.7678 GB, free: 39.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/1.241, allocations: 4 kB / 0.7678 GB, free: 39.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/1.241, allocations: 0 / 0.7678 GB, free: 39.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1.241, allocations: 4 kB / 0.7678 GB, free: 39.43 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006127/1.242, allocations: 0.5003 MB / 0.7683 GB, free: 38.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.867e-05/1.242, allocations: 44.45 kB / 0.7683 GB, free: 38.85 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/1.242, allocations: 28.23 kB / 0.7684 GB, free: 38.83 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/1.242, allocations: 89.25 kB / 0.7684 GB, free: 38.72 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/1.242, allocations: 42.48 kB / 0.7685 GB, free: 38.67 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/1.242, allocations: 0 / 0.7685 GB, free: 38.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005978/1.243, allocations: 312 kB / 0.7688 GB, free: 38.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/1.243, allocations: 51.41 kB / 0.7688 GB, free: 38.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.02e-05/1.243, allocations: 112.4 kB / 0.7689 GB, free: 38.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/1.243, allocations: 29.7 kB / 0.769 GB, free: 38.13 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/1.243, allocations: 103.7 kB / 0.7691 GB, free: 38.03 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/1.243, allocations: 30.73 kB / 0.7691 GB, free: 38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/1.243, allocations: 0 / 0.7691 GB, free: 38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.184e-05/1.243, allocations: 326.5 kB / 0.7694 GB, free: 37.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.135e-05/1.243, allocations: 19.56 kB / 0.7694 GB, free: 37.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.79e-05/1.243, allocations: 80.72 kB / 0.7695 GB, free: 37.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.408e-05/1.243, allocations: 31.17 kB / 0.7695 GB, free: 37.54 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/1.243, allocations: 0 / 0.7695 GB, free: 37.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00016/1.244, allocations: 115.3 kB / 0.7696 GB, free: 37.44 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/1.244, allocations: 4 kB / 0.7696 GB, free: 37.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/1.244, allocations: 80 / 0.7696 GB, free: 37.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/1.244, allocations: 7.938 kB / 0.7696 GB, free: 37.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/1.244, allocations: 35.98 kB / 0.7697 GB, free: 37.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/1.244, allocations: 7.984 kB / 0.7697 GB, free: 37.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.53e-05/1.244, allocations: 256 / 0.7697 GB, free: 37.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/1.244, allocations: 19.66 kB / 0.7697 GB, free: 37.37 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.023e-05/1.244, allocations: 105.1 kB / 0.7698 GB, free: 37.26 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/1.244, allocations: 11.89 kB / 0.7698 GB, free: 37.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/1.244, allocations: 88.84 kB / 0.7699 GB, free: 37.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/1.244, allocations: 0 / 0.7699 GB, free: 37.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/1.244, allocations: 0 / 0.7699 GB, free: 37.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/1.244, allocations: 0 / 0.7699 GB, free: 37.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/1.244, allocations: 384.6 kB / 0.7703 GB, free: 36.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.244, allocations: 0 / 0.7703 GB, free: 36.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/1.245, allocations: 23.8 kB / 0.7703 GB, free: 36.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.245, allocations: 0 / 0.7703 GB, free: 36.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/1.245, allocations: 4 kB / 0.7703 GB, free: 36.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/1.245, allocations: 0 / 0.7703 GB, free: 36.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.245, allocations: 0 / 0.7703 GB, free: 36.73 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001695/1.245, allocations: 208.3 kB / 0.7705 GB, free: 36.51 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002559/1.245, allocations: 0.5907 MB / 0.7711 GB, free: 35.92 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.193e-05/1.245, allocations: 85.14 kB / 0.7712 GB, free: 35.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/1.245, allocations: 7.688 kB / 0.7712 GB, free: 35.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/1.245, allocations: 7.938 kB / 0.7712 GB, free: 35.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/1.245, allocations: 3.984 kB / 0.7712 GB, free: 35.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/1.245, allocations: 4 kB / 0.7712 GB, free: 35.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.447e-05/1.245, allocations: 95.28 kB / 0.7713 GB, free: 35.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008286/1.246, allocations: 39.61 kB / 0.7713 GB, free: 35.67 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (medium.T,E) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0002529/1.246, allocations: 151 kB / 0.7714 GB, free: 35.52 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001391/1.247, allocations: 55.05 kB / 0.7715 GB, free: 35.47 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.247, allocations: 0 / 0.7715 GB, free: 35.47 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.785e-05/1.247, allocations: 23.69 kB / 0.7715 GB, free: 35.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/1.247, allocations: 28.25 kB / 0.7715 GB, free: 35.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005141/1.247, allocations: 229.4 kB / 0.7718 GB, free: 35.18 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/1.248, allocations: 0.7228 MB / 0.7725 GB, free: 34.44 MB / 442.7 MB Notification: Performance of SimCode: time 2.71e-07/1.248, allocations: 0 / 0.7725 GB, free: 34.44 MB / 442.7 MB (rm -f TAeZoSysPro_TAeZoSysPro.HeatTransfer.BasesClasses.LumpVolume.pipe ; mkfifo TAeZoSysPro_TAeZoSysPro.HeatTransfer.BasesClasses.LumpVolume.pipe ; head -c 1048576 < TAeZoSysPro_TAeZoSysPro.HeatTransfer.BasesClasses.LumpVolume.pipe >> ../files/TAeZoSysPro_TAeZoSysPro.HeatTransfer.BasesClasses.LumpVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_TAeZoSysPro_TAeZoSysPro_HeatTransfer_BasesClasses_LumpVolume_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 TAeZoSysPro_TAeZoSysPro_HeatTransfer_BasesClasses_LumpVolume.fmu > TAeZoSysPro_TAeZoSysPro.HeatTransfer.BasesClasses.LumpVolume.pipe 2>&1)