Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_dev_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.003825/0.003825, allocations: 183.6 kB / 7.462 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7136/0.7136, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.452/1.452, allocations: 221.3 MB / 395 MB, free: 10.22 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.001056/0.001055, allocations: 107 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4082/0.4093, allocations: 88.42 MB / 0.5529 GB, free: 89.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.5838, allocations: 82.31 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.831/4.415, allocations: 1.869 GB / 2.502 GB, free: 92.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/4.415, allocations: 83.95 kB / 2.502 GB, free: 92.34 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.782/6.198, allocations: 411.9 MB / 2.905 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/6.198, allocations: 9.656 kB / 2.905 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002875/6.201, allocations: 418.7 kB / 2.905 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003229/6.204, allocations: 1.174 MB / 2.906 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.074e-05/6.204, allocations: 42.31 kB / 2.906 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/6.204, allocations: 79.06 kB / 2.906 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002752/6.207, allocations: 1.401 MB / 2.908 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/6.209, allocations: 1.217 MB / 2.909 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.161e-05/6.209, allocations: 0 / 2.909 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/6.209, allocations: 7.031 kB / 2.909 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.371e-05/6.209, allocations: 33.12 kB / 2.909 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007615/6.217, allocations: 4.669 MB / 2.913 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/6.218, allocations: 1.163 MB / 2.914 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005416/6.219, allocations: 433.9 kB / 2.915 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007311/6.22, allocations: 0.5 MB / 2.915 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007987/6.22, allocations: 0.5975 MB / 2.916 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=98): time 3.376e-06/6.221, allocations: 0 / 2.916 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=98): time 0.003238/6.224, allocations: 1.138 MB / 2.917 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.713e-05/6.224, allocations: 244.3 kB / 2.917 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008961/6.225, allocations: 0.6282 MB / 2.918 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.99e-05/6.225, allocations: 29.02 kB / 2.918 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003228/6.225, allocations: 465.6 kB / 2.918 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002636/6.225, allocations: 315.2 kB / 2.919 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/6.226, allocations: 0 / 2.919 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.966e-05/6.226, allocations: 343.2 kB / 2.919 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004681/6.226, allocations: 331.7 kB / 2.919 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006124/6.227, allocations: 0.5171 MB / 2.92 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/6.228, allocations: 0.5083 MB / 2.92 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/6.228, allocations: 0 / 2.92 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002388/6.23, allocations: 1.131 MB / 2.921 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/6.23, allocations: 7.25 kB / 2.921 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/6.23, allocations: 3.906 kB / 2.921 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006314/6.231, allocations: 88.3 kB / 2.922 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/6.232, allocations: 230.2 kB / 2.922 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/6.234, allocations: 1.48 MB / 2.923 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/6.235, allocations: 110 kB / 2.923 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.519e-05/6.235, allocations: 37.72 kB / 2.923 GB, free: 133.8 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.0002427/6.235, allocations: 122.6 kB / 2.923 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/6.235, allocations: 102.1 kB / 2.924 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00328/6.239, allocations: 1.409 MB / 2.925 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/6.239, allocations: 14.12 kB / 2.925 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/6.239, allocations: 3.656 kB / 2.925 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/6.239, allocations: 3.891 kB / 2.925 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004902/6.244, allocations: 2.566 MB / 2.927 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/6.244, allocations: 3.5 kB / 2.927 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/6.245, allocations: 221.6 kB / 2.928 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000553/6.245, allocations: 86.11 kB / 2.928 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.843e-05/6.245, allocations: 20.42 kB / 2.928 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/6.247, allocations: 1.49 MB / 2.929 GB, free: 132 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/6.247, allocations: 0 / 2.929 GB, free: 132 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002486/6.25, allocations: 1.257 MB / 2.93 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002561/6.252, allocations: 1.741 MB / 2.932 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005873/6.253, allocations: 357.4 kB / 2.933 GB, free: 131 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/6.253, allocations: 7.719 kB / 2.933 GB, free: 131 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009392/6.254, allocations: 86.88 kB / 2.933 GB, free: 131 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/6.254, allocations: 60.58 kB / 2.933 GB, free: 131 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/6.254, allocations: 46.66 kB / 2.933 GB, free: 131 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006566/6.255, allocations: 495.5 kB / 2.933 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003075/6.258, allocations: 0.7697 MB / 2.934 GB, free: 130.8 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.003234/6.261, allocations: 1.981 MB / 2.936 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001725/6.263, allocations: 0.9944 MB / 2.937 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/6.263, allocations: 2.188 kB / 2.937 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008277/6.264, allocations: 0.6022 MB / 2.937 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/6.266, allocations: 356.2 kB / 2.938 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005562/6.271, allocations: 1.875 MB / 2.94 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/6.272, allocations: 1.349 MB / 2.941 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of SimCode: time 7.91e-07/6.272, allocations: 3 kB / 2.941 GB, free: 128.9 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)