Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IDEAS_dev_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.004377/0.004377, allocations: 182.8 kB / 7.461 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.7146/0.7146, 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.555/1.555, 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.0009673/0.0009674, allocations: 90.64 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4549/0.4559, allocations: 88.43 MB / 0.5529 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.6407, allocations: 82.29 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.105/4.746, allocations: 1.901 GB / 2.534 GB, free: 59.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/4.746, allocations: 83.95 kB / 2.534 GB, free: 59.66 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.051/5.797, allocations: 324.1 MB / 2.851 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/5.798, allocations: 8 kB / 2.851 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003787/5.801, allocations: 0.5901 MB / 2.851 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003289/5.805, allocations: 2.251 MB / 2.853 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/5.805, allocations: 56 kB / 2.853 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/5.805, allocations: 99.91 kB / 2.853 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002625/5.808, allocations: 1.88 MB / 2.855 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002285/5.81, allocations: 1.593 MB / 2.857 GB, free: 3.598 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/5.81, allocations: 0 / 2.857 GB, free: 3.598 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/5.81, allocations: 4 kB / 2.857 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/5.81, allocations: 40 kB / 2.857 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3386/6.149, allocations: 6.051 MB / 2.863 GB, free: 217.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002534/6.151, allocations: 1.822 MB / 2.865 GB, free: 217.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009441/6.152, allocations: 0.6641 MB / 2.865 GB, free: 217.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007172/6.153, allocations: 0.7462 MB / 2.866 GB, free: 216.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001187/6.154, allocations: 0.8543 MB / 2.867 GB, free: 216.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 3.407e-06/6.154, allocations: 3.875 kB / 2.867 GB, free: 216.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.004264/6.158, allocations: 1.604 MB / 2.868 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.886e-05/6.159, allocations: 250.8 kB / 2.869 GB, free: 216.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003562/6.162, allocations: 2.365 MB / 2.871 GB, free: 216.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003517/6.162, allocations: 29.61 kB / 2.871 GB, free: 216.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005669/6.163, allocations: 0.5795 MB / 2.871 GB, free: 215.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000403/6.163, allocations: 441.7 kB / 2.872 GB, free: 215.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/6.164, allocations: 0 / 2.872 GB, free: 215.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001082/6.164, allocations: 356.5 kB / 2.872 GB, free: 215.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007622/6.164, allocations: 489.4 kB / 2.873 GB, free: 215.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008885/6.165, allocations: 0.6821 MB / 2.873 GB, free: 215.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009895/6.166, allocations: 0.5703 MB / 2.874 GB, free: 215.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/6.166, allocations: 0 / 2.874 GB, free: 215.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003886/6.17, allocations: 1.54 MB / 2.875 GB, free: 215 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/6.17, allocations: 3.688 kB / 2.875 GB, free: 215 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/6.17, allocations: 7.281 kB / 2.875 GB, free: 215 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/6.171, allocations: 211.9 kB / 2.876 GB, free: 214.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/6.173, allocations: 306.6 kB / 2.876 GB, free: 214.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004599/6.178, allocations: 6.513 MB / 2.882 GB, free: 208.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/6.18, allocations: 132.5 kB / 2.882 GB, free: 208.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002404/6.18, allocations: 68.48 kB / 2.883 GB, free: 208.9 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.0004836/6.18, allocations: 132.1 kB / 2.883 GB, free: 208.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006332/6.181, allocations: 177.6 kB / 2.883 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004937/6.186, allocations: 2.028 MB / 2.885 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/6.186, allocations: 13.31 kB / 2.885 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/6.186, allocations: 2.625 kB / 2.885 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/6.186, allocations: 7.688 kB / 2.885 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007118/6.193, allocations: 3.868 MB / 2.889 GB, free: 208.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/6.193, allocations: 3.375 kB / 2.889 GB, free: 208.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/6.195, allocations: 330.4 kB / 2.889 GB, free: 208.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009225/6.196, allocations: 205.4 kB / 2.889 GB, free: 208.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.935e-05/6.196, allocations: 24.83 kB / 2.889 GB, free: 208.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004197/6.2, allocations: 6.528 MB / 2.895 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/6.2, allocations: 0 / 2.895 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003501/6.204, allocations: 1.733 MB / 2.897 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003441/6.207, allocations: 2.195 MB / 2.899 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/6.208, allocations: 0.6638 MB / 2.9 GB, free: 201 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003848/6.209, allocations: 0 / 2.9 GB, free: 201 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/6.21, allocations: 120.4 kB / 2.9 GB, free: 201 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/6.21, allocations: 86.88 kB / 2.9 GB, free: 201 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/6.211, allocations: 88.02 kB / 2.9 GB, free: 201 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.002146/6.213, allocations: 1.83 MB / 2.902 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00362/6.216, allocations: 0.924 MB / 2.903 GB, free: 200.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 (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.002709/6.219, allocations: 1.736 MB / 2.905 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002533/6.222, allocations: 1.708 MB / 2.906 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/6.222, allocations: 5.062 kB / 2.906 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/6.223, allocations: 1.205 MB / 2.907 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/6.225, allocations: 418.2 kB / 2.908 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007615/6.233, allocations: 3.023 MB / 2.911 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002386/6.235, allocations: 1.861 MB / 2.913 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.222e-06/6.235, allocations: 0 / 2.913 GB, free: 198.1 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)