Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.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_Angles,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",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.004502/0.004502, allocations: 179.8 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.7259/0.7259, 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.619/1.619, allocations: 221.3 MB / 395 MB, free: 10.2 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.0009768/0.0009768, allocations: 101.5 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5222/0.5233, allocations: 88.42 MB / 0.5529 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.74, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.397/5.137, allocations: 1.901 GB / 2.534 GB, free: 61.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/5.137, allocations: 83.89 kB / 2.534 GB, free: 61.44 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 0.9002/6.037, allocations: 324.1 MB / 2.851 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/6.037, allocations: 8 kB / 2.851 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004227/6.042, allocations: 0.5901 MB / 2.851 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003934/6.046, allocations: 2.259 MB / 2.853 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.827e-05/6.046, allocations: 52 kB / 2.853 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/6.046, allocations: 99.91 kB / 2.853 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002727/6.049, allocations: 1.888 MB / 2.855 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00226/6.051, allocations: 1.593 MB / 2.857 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/6.051, allocations: 3.938 kB / 2.857 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/6.051, allocations: 4 kB / 2.857 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/6.051, allocations: 40 kB / 2.857 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2487/6.3, allocations: 6.039 MB / 2.863 GB, free: 218.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/6.302, allocations: 1.819 MB / 2.865 GB, free: 218.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007685/6.303, allocations: 0.6692 MB / 2.865 GB, free: 218.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006371/6.304, allocations: 0.7567 MB / 2.866 GB, free: 217.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/6.305, allocations: 0.8563 MB / 2.867 GB, free: 217.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 3.296e-06/6.305, allocations: 0 / 2.867 GB, free: 217.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.003643/6.309, allocations: 1.597 MB / 2.868 GB, free: 217.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/6.309, allocations: 251 kB / 2.869 GB, free: 217.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002566/6.311, allocations: 2.368 MB / 2.871 GB, free: 217 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001265/6.311, allocations: 29.14 kB / 2.871 GB, free: 216.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003552/6.312, allocations: 0.5814 MB / 2.872 GB, free: 216.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/6.312, allocations: 442 kB / 2.872 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.815e-05/6.312, allocations: 0 / 2.872 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.122e-05/6.312, allocations: 349.3 kB / 2.872 GB, free: 216.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006124/6.313, allocations: 490.6 kB / 2.873 GB, free: 216.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000702/6.313, allocations: 0.6858 MB / 2.873 GB, free: 216.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007906/6.314, allocations: 0.5769 MB / 2.874 GB, free: 216.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/6.314, allocations: 0 / 2.874 GB, free: 216.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00277/6.317, allocations: 1.532 MB / 2.875 GB, free: 215.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/6.317, allocations: 9.031 kB / 2.875 GB, free: 215.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/6.317, allocations: 0 / 2.875 GB, free: 215.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009552/6.318, allocations: 208.9 kB / 2.876 GB, free: 215.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/6.319, allocations: 314.9 kB / 2.876 GB, free: 215.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003832/6.323, allocations: 6.505 MB / 2.882 GB, free: 209.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/6.325, allocations: 143.6 kB / 2.882 GB, free: 209.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/6.325, allocations: 66.95 kB / 2.883 GB, free: 209.8 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.0003035/6.325, allocations: 123.1 kB / 2.883 GB, free: 209.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003038/6.326, allocations: 175.8 kB / 2.883 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003918/6.33, allocations: 2.025 MB / 2.885 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/6.33, allocations: 14.7 kB / 2.885 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/6.33, allocations: 3.25 kB / 2.885 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/6.33, allocations: 9.812 kB / 2.885 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00551/6.335, allocations: 3.862 MB / 2.889 GB, free: 209.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/6.335, allocations: 0 / 2.889 GB, free: 209.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/6.337, allocations: 330.5 kB / 2.889 GB, free: 209.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008757/6.337, allocations: 214.6 kB / 2.889 GB, free: 209 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-05/6.338, allocations: 27.78 kB / 2.889 GB, free: 209 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003725/6.341, allocations: 6.523 MB / 2.895 GB, free: 203 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/6.341, allocations: 3.062 kB / 2.895 GB, free: 203 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002873/6.344, allocations: 1.728 MB / 2.897 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002875/6.347, allocations: 2.201 MB / 2.899 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/6.348, allocations: 0.6603 MB / 2.9 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003457/6.348, allocations: 3.562 kB / 2.9 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/6.35, allocations: 114.4 kB / 2.9 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/6.35, allocations: 82.53 kB / 2.9 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/6.35, allocations: 89.78 kB / 2.9 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001861/6.352, allocations: 1.84 MB / 2.902 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002697/6.355, allocations: 0.9236 MB / 2.903 GB, free: 201.7 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.002283/6.357, allocations: 1.732 MB / 2.905 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002457/6.359, allocations: 1.71 MB / 2.906 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/6.359, allocations: 4.5 kB / 2.906 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001654/6.361, allocations: 1.202 MB / 2.907 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003022/6.364, allocations: 417.3 kB / 2.908 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008812/6.373, allocations: 3.021 MB / 2.911 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003003/6.376, allocations: 1.869 MB / 2.913 GB, free: 199 MB / 0.6823 GB Notification: Performance of SimCode: time 1.974e-06/6.376, allocations: 3.5 kB / 2.913 GB, free: 199 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)