Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",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 4.0.0+maint.om/package.mo): time 0.003181/0.003181, allocations: 179.9 kB / 7.456 MB, free: 2.316 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7459/0.7459, allocations: 133.5 MB / 141.4 MB, free: 15.71 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 221.3 MB / 395 MB, free: 10.26 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009742/0.0009743, allocations: 105.3 kB / 477.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3663/0.3673, allocations: 88.42 MB / 0.5529 GB, free: 88.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.5205, allocations: 82.31 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.04/4.561, allocations: 1.869 GB / 2.502 GB, free: 85.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/4.561, allocations: 87.95 kB / 2.502 GB, free: 85.18 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 1.775/6.336, allocations: 411.9 MB / 2.905 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/6.336, allocations: 13.12 kB / 2.905 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00301/6.339, allocations: 421.8 kB / 2.905 GB, free: 140 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003514/6.342, allocations: 1.158 MB / 2.906 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.758e-05/6.342, allocations: 49.84 kB / 2.906 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001875/6.343, allocations: 75.5 kB / 2.906 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002872/6.345, allocations: 1.397 MB / 2.908 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002358/6.348, allocations: 1.219 MB / 2.909 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.955e-05/6.348, allocations: 10.03 kB / 2.909 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/6.348, allocations: 10.92 kB / 2.909 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.06e-05/6.348, allocations: 31.66 kB / 2.909 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008497/6.357, allocations: 4.671 MB / 2.913 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/6.358, allocations: 1.161 MB / 2.914 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005693/6.359, allocations: 428 kB / 2.915 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007787/6.359, allocations: 0.5011 MB / 2.915 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008527/6.36, allocations: 0.5946 MB / 2.916 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=98): time 3.928e-06/6.36, allocations: 0 / 2.916 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=98): time 0.003346/6.364, allocations: 1.139 MB / 2.917 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.396e-05/6.364, allocations: 245.8 kB / 2.917 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009533/6.365, allocations: 0.6216 MB / 2.918 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/6.365, allocations: 29.14 kB / 2.918 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003878/6.365, allocations: 464 kB / 2.918 GB, free: 136 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/6.366, allocations: 311.6 kB / 2.919 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/6.366, allocations: 0 / 2.919 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.85e-05/6.366, allocations: 351.5 kB / 2.919 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000462/6.366, allocations: 331.1 kB / 2.919 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006494/6.367, allocations: 0.5099 MB / 2.92 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/6.368, allocations: 0.5107 MB / 2.92 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/6.368, allocations: 2.406 kB / 2.92 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002525/6.371, allocations: 1.131 MB / 2.921 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/6.371, allocations: 5.938 kB / 2.921 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/6.371, allocations: 3.812 kB / 2.921 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006377/6.371, allocations: 88.53 kB / 2.922 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/6.372, allocations: 234.9 kB / 2.922 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/6.374, allocations: 1.478 MB / 2.923 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/6.376, allocations: 105.7 kB / 2.923 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.499e-05/6.376, allocations: 40.61 kB / 2.923 GB, free: 133.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002452/6.376, allocations: 129.5 kB / 2.923 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/6.376, allocations: 109.4 kB / 2.924 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003319/6.38, allocations: 1.4 MB / 2.925 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/6.38, allocations: 15.31 kB / 2.925 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/6.38, allocations: 0 / 2.925 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/6.38, allocations: 3.844 kB / 2.925 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004802/6.384, allocations: 2.567 MB / 2.927 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/6.384, allocations: 0 / 2.927 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/6.385, allocations: 225.6 kB / 2.928 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005417/6.386, allocations: 93.16 kB / 2.928 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.859e-05/6.386, allocations: 18.19 kB / 2.928 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/6.388, allocations: 1.488 MB / 2.929 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/6.388, allocations: 0 / 2.929 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002767/6.391, allocations: 1.257 MB / 2.93 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003126/6.394, allocations: 1.751 MB / 2.932 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007298/6.395, allocations: 353 kB / 2.933 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/6.395, allocations: 0 / 2.933 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009866/6.396, allocations: 95.78 kB / 2.933 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/6.396, allocations: 61.77 kB / 2.933 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/6.396, allocations: 50.23 kB / 2.933 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007112/6.397, allocations: 491.3 kB / 2.933 GB, free: 131 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003023/6.4, allocations: 0.7656 MB / 2.934 GB, free: 130.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00366/6.403, allocations: 1.977 MB / 2.936 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001996/6.405, allocations: 0.9858 MB / 2.937 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/6.406, allocations: 5.156 kB / 2.937 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/6.407, allocations: 0.6054 MB / 2.937 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/6.409, allocations: 345 kB / 2.938 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005222/6.414, allocations: 1.882 MB / 2.94 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001251/6.415, allocations: 1.351 MB / 2.941 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.392e-06/6.415, allocations: 0 / 2.941 GB, free: 129.1 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)