Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_dev_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.003289/0.003289, allocations: 181 kB / 7.461 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.711/0.711, 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.563/1.563, allocations: 221.3 MB / 395 MB, free: 10.21 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.0009443/0.0009443, allocations: 87.42 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.45/0.451, allocations: 88.43 MB / 0.5529 GB, free: 89.15 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.625, allocations: 82.31 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.336/4.962, allocations: 1.901 GB / 2.534 GB, free: 41.45 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/4.962, allocations: 83.95 kB / 2.534 GB, free: 41.36 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.578/6.54, allocations: 328.8 MB / 2.855 GB, free: 157 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/6.54, allocations: 9.938 kB / 2.855 GB, free: 157 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0044/6.545, allocations: 0.5846 MB / 2.856 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004313/6.549, allocations: 2.247 MB / 2.858 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.635e-05/6.549, allocations: 52.66 kB / 2.858 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/6.549, allocations: 100.8 kB / 2.858 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003346/6.553, allocations: 1.884 MB / 2.86 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002819/6.555, allocations: 1.595 MB / 2.861 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/6.556, allocations: 0 / 2.861 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/6.556, allocations: 0 / 2.861 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-05/6.556, allocations: 46.31 kB / 2.861 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01191/6.568, allocations: 6.03 MB / 2.867 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002233/6.57, allocations: 1.828 MB / 2.869 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008427/6.571, allocations: 0.6675 MB / 2.87 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007391/6.572, allocations: 0.7516 MB / 2.871 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001171/6.573, allocations: 0.849 MB / 2.871 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 3.256e-06/6.573, allocations: 0 / 2.871 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.003985/6.577, allocations: 1.605 MB / 2.873 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.788e-05/6.577, allocations: 245.8 kB / 2.873 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003143/6.58, allocations: 2.354 MB / 2.875 GB, free: 153 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002224/6.58, allocations: 29.33 kB / 2.875 GB, free: 153 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005831/6.581, allocations: 0.581 MB / 2.876 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004221/6.581, allocations: 433.5 kB / 2.876 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.473e-05/6.581, allocations: 0 / 2.876 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001039/6.581, allocations: 346.4 kB / 2.877 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007134/6.582, allocations: 493.6 kB / 2.877 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008376/6.583, allocations: 0.6817 MB / 2.878 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008972/6.584, allocations: 0.5724 MB / 2.878 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/6.584, allocations: 10.31 kB / 2.879 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003295/6.587, allocations: 1.527 MB / 2.88 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/6.587, allocations: 3.344 kB / 2.88 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/6.587, allocations: 3.188 kB / 2.88 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/6.588, allocations: 206.8 kB / 2.88 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/6.59, allocations: 314.6 kB / 2.88 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004702/6.595, allocations: 6.512 MB / 2.887 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/6.596, allocations: 138.6 kB / 2.887 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001546/6.597, allocations: 67.34 kB / 2.887 GB, free: 145.6 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.0003685/6.597, allocations: 133.8 kB / 2.887 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003546/6.597, allocations: 179.5 kB / 2.887 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004357/6.602, allocations: 2.016 MB / 2.889 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/6.602, allocations: 15.09 kB / 2.889 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/6.602, allocations: 0 / 2.889 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/6.602, allocations: 7.406 kB / 2.889 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006646/6.608, allocations: 3.866 MB / 2.893 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/6.608, allocations: 1.969 kB / 2.893 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/6.61, allocations: 326.3 kB / 2.893 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009186/6.611, allocations: 218.8 kB / 2.894 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.907e-05/6.611, allocations: 28.34 kB / 2.894 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00455/6.616, allocations: 6.522 MB / 2.9 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/6.616, allocations: 0 / 2.9 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004134/6.62, allocations: 1.726 MB / 2.902 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004168/6.624, allocations: 2.195 MB / 2.904 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001571/6.626, allocations: 0.6599 MB / 2.905 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003888/6.626, allocations: 3.781 kB / 2.905 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/6.627, allocations: 112 kB / 2.905 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/6.628, allocations: 87.47 kB / 2.905 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/6.628, allocations: 81.56 kB / 2.905 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.002241/6.63, allocations: 1.827 MB / 2.907 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003631/6.634, allocations: 0.9272 MB / 2.907 GB, free: 137.4 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.002838/6.637, allocations: 1.738 MB / 2.909 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002571/6.639, allocations: 1.707 MB / 2.911 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/6.639, allocations: 0.6562 kB / 2.911 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001422/6.641, allocations: 1.213 MB / 2.912 GB, free: 136 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/6.643, allocations: 406.7 kB / 2.912 GB, free: 136 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00746/6.651, allocations: 3.013 MB / 2.915 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002168/6.653, allocations: 1.859 MB / 2.917 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.232e-06/6.653, allocations: 3.562 kB / 2.917 GB, free: 134.6 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)