Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.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.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",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.003473/0.003473, allocations: 180.4 kB / 7.458 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.7184/0.7184, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.569/1.569, allocations: 221.3 MB / 395 MB, free: 10.19 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.0009929/0.000993, allocations: 110.9 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4656/0.4666, allocations: 88.41 MB / 0.5529 GB, free: 89.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.6567, allocations: 82.31 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.634/5.29, allocations: 1.901 GB / 2.534 GB, free: 22.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/5.291, allocations: 84.17 kB / 2.534 GB, free: 22.19 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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 1.625/6.916, allocations: 328.8 MB / 2.855 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/6.916, allocations: 10.64 kB / 2.855 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005024/6.921, allocations: 0.5831 MB / 2.856 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005928/6.927, allocations: 2.255 MB / 2.858 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/6.927, allocations: 56.5 kB / 2.858 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006798/6.928, allocations: 99 kB / 2.858 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004794/6.933, allocations: 1.879 MB / 2.86 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004828/6.938, allocations: 1.595 MB / 2.861 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.296e-05/6.938, allocations: 0 / 2.861 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004149/6.938, allocations: 4.781 kB / 2.861 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.92e-05/6.938, allocations: 43 kB / 2.861 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01413/6.952, allocations: 6.019 MB / 2.867 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002892/6.955, allocations: 1.83 MB / 2.869 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/6.956, allocations: 0.6629 MB / 2.87 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000933/6.957, allocations: 0.7477 MB / 2.871 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001559/6.959, allocations: 0.8615 MB / 2.871 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 7.985e-06/6.959, allocations: 3.656 kB / 2.871 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.004924/6.964, allocations: 1.596 MB / 2.873 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/6.964, allocations: 246.1 kB / 2.873 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004629/6.969, allocations: 2.353 MB / 2.875 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000362/6.969, allocations: 29.23 kB / 2.875 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007997/6.97, allocations: 0.5879 MB / 2.876 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005792/6.971, allocations: 435.8 kB / 2.876 GB, free: 156 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/6.971, allocations: 0 / 2.876 GB, free: 156 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001297/6.971, allocations: 348.7 kB / 2.877 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008359/6.972, allocations: 489.4 kB / 2.877 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/6.973, allocations: 0.6892 MB / 2.878 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/6.974, allocations: 0.5706 MB / 2.878 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/6.974, allocations: 3.906 kB / 2.878 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003799/6.978, allocations: 1.532 MB / 2.88 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/6.978, allocations: 3.469 kB / 2.88 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/6.978, allocations: 0 / 2.88 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/6.979, allocations: 206.5 kB / 2.88 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/6.981, allocations: 319 kB / 2.88 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004922/6.986, allocations: 6.513 MB / 2.887 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00208/6.988, allocations: 129.6 kB / 2.887 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003304/6.988, allocations: 65.61 kB / 2.887 GB, free: 149.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 (132): * Single equations (assignments): 127 * 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.0005807/6.989, allocations: 132.4 kB / 2.887 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008731/6.989, allocations: 177.4 kB / 2.887 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005449/6.995, allocations: 2.019 MB / 2.889 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/6.995, allocations: 11.06 kB / 2.889 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/6.995, allocations: 3.281 kB / 2.889 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/6.995, allocations: 7.594 kB / 2.889 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008965/7.004, allocations: 3.873 MB / 2.893 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/7.004, allocations: 3.75 kB / 2.893 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/7.006, allocations: 324.3 kB / 2.893 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/7.007, allocations: 210.9 kB / 2.894 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/7.007, allocations: 27.22 kB / 2.894 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004874/7.012, allocations: 6.53 MB / 2.9 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/7.012, allocations: 0 / 2.9 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004368/7.016, allocations: 1.721 MB / 2.902 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005001/7.021, allocations: 2.203 MB / 2.904 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002338/7.024, allocations: 0.6566 MB / 2.905 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009281/7.025, allocations: 2.25 kB / 2.905 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00244/7.027, allocations: 116.2 kB / 2.905 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003832/7.027, allocations: 86.53 kB / 2.905 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000231/7.028, allocations: 88.97 kB / 2.905 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.002238/7.03, allocations: 1.821 MB / 2.907 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003599/7.033, allocations: 0.9216 MB / 2.907 GB, free: 141 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.002591/7.036, allocations: 1.736 MB / 2.909 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002351/7.038, allocations: 1.708 MB / 2.911 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/7.038, allocations: 3.062 kB / 2.911 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/7.04, allocations: 1.215 MB / 2.912 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/7.042, allocations: 419.6 kB / 2.912 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006872/7.049, allocations: 2.999 MB / 2.915 GB, free: 139 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002019/7.051, allocations: 1.868 MB / 2.917 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of SimCode: time 6.41e-07/7.051, allocations: 0 / 2.917 GB, free: 138.2 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)