Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.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.Outside_CpData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData",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.00399/0.00399, allocations: 185.6 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7196/0.7196, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.504/1.504, allocations: 221.3 MB / 395 MB, free: 10.23 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.0009995/0.0009995, allocations: 101 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4523/0.4534, allocations: 88.42 MB / 0.5529 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.6296, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.81/4.44, allocations: 1.9 GB / 2.534 GB, free: 67.65 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/4.44, allocations: 83.95 kB / 2.534 GB, free: 67.57 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 1.043/5.483, allocations: 328.4 MB / 2.854 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/5.484, allocations: 8 kB / 2.854 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004913/5.488, allocations: 0.594 MB / 2.855 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005562/5.494, allocations: 2.239 MB / 2.857 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/5.494, allocations: 56 kB / 2.857 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006071/5.495, allocations: 96 kB / 2.857 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004198/5.499, allocations: 1.884 MB / 2.859 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004119/5.503, allocations: 1.585 MB / 2.861 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.579e-05/5.503, allocations: 0 / 2.861 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000339/5.504, allocations: 4 kB / 2.861 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-05/5.504, allocations: 40 kB / 2.861 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/5.517, allocations: 5.832 MB / 2.866 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3671/5.884, allocations: 1.817 MB / 2.868 GB, free: 219.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009682/5.885, allocations: 0.6697 MB / 2.869 GB, free: 219.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007416/5.885, allocations: 0.746 MB / 2.87 GB, free: 219 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001172/5.887, allocations: 0.8667 MB / 2.87 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 4.698e-06/5.887, allocations: 1.031 kB / 2.87 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.004039/5.891, allocations: 1.598 MB / 2.872 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.809e-05/5.891, allocations: 252.7 kB / 2.872 GB, free: 218.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003241/5.894, allocations: 2.339 MB / 2.875 GB, free: 218.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002389/5.894, allocations: 29.64 kB / 2.875 GB, free: 218.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005496/5.895, allocations: 0.566 MB / 2.875 GB, free: 218.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004157/5.895, allocations: 445.6 kB / 2.876 GB, free: 218 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.869e-05/5.895, allocations: 3.375 kB / 2.876 GB, free: 218 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001045/5.895, allocations: 350.2 kB / 2.876 GB, free: 217.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007283/5.896, allocations: 489.9 kB / 2.876 GB, free: 217.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008478/5.897, allocations: 0.6844 MB / 2.877 GB, free: 217.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009339/5.898, allocations: 0.5693 MB / 2.878 GB, free: 217.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/5.898, allocations: 0 / 2.878 GB, free: 217.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003274/5.901, allocations: 1.528 MB / 2.879 GB, free: 217.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/5.901, allocations: 6.75 kB / 2.879 GB, free: 217.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/5.901, allocations: 3.906 kB / 2.879 GB, free: 217.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/5.902, allocations: 209.2 kB / 2.879 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/5.904, allocations: 302.3 kB / 2.88 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004546/5.908, allocations: 6.505 MB / 2.886 GB, free: 211.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/5.91, allocations: 129.4 kB / 2.886 GB, free: 211.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/5.911, allocations: 65.36 kB / 2.886 GB, free: 211.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (131): * Single equations (assignments): 126 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003855/5.911, allocations: 128.4 kB / 2.886 GB, free: 211.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003946/5.911, allocations: 177.2 kB / 2.886 GB, free: 211 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004424/5.916, allocations: 2.025 MB / 2.888 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/5.916, allocations: 13.75 kB / 2.888 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/5.916, allocations: 3.938 kB / 2.888 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/5.916, allocations: 6.984 kB / 2.888 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006532/5.922, allocations: 3.854 MB / 2.892 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/5.922, allocations: 7.781 kB / 2.892 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/5.924, allocations: 315.9 kB / 2.892 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009372/5.925, allocations: 218.4 kB / 2.893 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/5.925, allocations: 23.36 kB / 2.893 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004453/5.929, allocations: 6.525 MB / 2.899 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/5.929, allocations: 0 / 2.899 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003661/5.933, allocations: 1.728 MB / 2.901 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003574/5.937, allocations: 2.201 MB / 2.903 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001465/5.938, allocations: 0.6555 MB / 2.904 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003703/5.939, allocations: 3 kB / 2.904 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/5.94, allocations: 104.3 kB / 2.904 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/5.94, allocations: 85.52 kB / 2.904 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/5.94, allocations: 88.08 kB / 2.904 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.002292/5.943, allocations: 1.813 MB / 2.906 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003676/5.946, allocations: 0.9276 MB / 2.906 GB, free: 203.1 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 (140): * Single equations (assignments): 133 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002993/5.949, allocations: 1.743 MB / 2.908 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002676/5.952, allocations: 1.708 MB / 2.91 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/5.952, allocations: 4.5 kB / 2.91 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001451/5.953, allocations: 1.21 MB / 2.911 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/5.956, allocations: 406.4 kB / 2.911 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007469/5.964, allocations: 2.905 MB / 2.914 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002269/5.966, allocations: 1.858 MB / 2.916 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.473e-06/5.966, allocations: 0 / 2.916 GB, free: 200.5 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)