Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial",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 trunk/package.mo): time 0.001858/0.001858, allocations: 206.7 kB / 8.543 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 225.5 MB / 234.4 MB, free: 3.441 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009131/0.0009131, allocations: 90.94 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1682/0.1682, allocations: 45.15 MB / 383.3 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2075/0.3758, allocations: 69.37 MB / 452.7 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08469/0.4605, allocations: 63.23 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.995/5.456, allocations: 3.171 GB / 3.675 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/5.456, allocations: 75.34 kB / 3.675 GB, free: 151.4 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 7.823/13.28, allocations: 3.11 GB / 6.785 GB, free: 65.07 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/13.28, allocations: 10.88 kB / 6.785 GB, free: 65.07 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/13.28, allocations: 317 kB / 6.785 GB, free: 64.93 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004968/13.29, allocations: 2.096 MB / 6.787 GB, free: 64.47 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/13.29, allocations: 151.2 kB / 6.787 GB, free: 64.41 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000375/13.29, allocations: 118.4 kB / 6.788 GB, free: 64.41 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004143/13.29, allocations: 2.941 MB / 6.79 GB, free: 64.39 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003912/13.29, allocations: 3.097 MB / 6.793 GB, free: 63.91 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.955e-05/13.29, allocations: 9.594 kB / 6.793 GB, free: 63.91 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002442/13.3, allocations: 3.875 kB / 6.793 GB, free: 63.91 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001544/13.3, allocations: 215.7 kB / 6.794 GB, free: 63.91 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0171/13.31, allocations: 12.03 MB / 6.805 GB, free: 59.02 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/13.31, allocations: 1.364 MB / 6.807 GB, free: 58.99 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/13.32, allocations: 1.348 MB / 6.808 GB, free: 58.98 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007804/13.32, allocations: 6.02 MB / 6.814 GB, free: 56.04 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/13.32, allocations: 53.91 kB / 6.814 GB, free: 56 MB / 0.573 GB Notification: Performance of pre-optimization done (n=173): time 3.406e-06/13.32, allocations: 0 / 6.814 GB, free: 56 MB / 0.573 GB Notification: Performance of matching and sorting (n=199): time 0.02411/13.35, allocations: 8.828 MB / 6.823 GB, free: 55.07 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/13.35, allocations: 129.3 kB / 6.823 GB, free: 54.95 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/13.35, allocations: 1.21 MB / 6.824 GB, free: 54.78 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001908/13.35, allocations: 25.7 kB / 6.824 GB, free: 54.75 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003541/13.35, allocations: 0.8024 MB / 6.825 GB, free: 54.27 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000508/13.35, allocations: 0.6567 MB / 6.825 GB, free: 53.83 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/13.35, allocations: 0 / 6.825 GB, free: 53.83 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001166/13.35, allocations: 400.3 kB / 6.826 GB, free: 53.53 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/13.35, allocations: 1.213 MB / 6.827 GB, free: 53.52 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001767/13.35, allocations: 1.716 MB / 6.829 GB, free: 52.96 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008175/13.36, allocations: 2.724 MB / 6.831 GB, free: 52.95 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/13.36, allocations: 6.156 kB / 6.831 GB, free: 52.95 MB / 0.573 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.0141/13.38, allocations: 5.059 MB / 6.836 GB, free: 52.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009541/13.38, allocations: 5.77 MB / 6.842 GB, free: 46.81 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/13.38, allocations: 15.41 kB / 6.842 GB, free: 46.81 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002995/13.38, allocations: 0.971 MB / 6.843 GB, free: 46.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002295/13.38, allocations: 474.1 kB / 6.843 GB, free: 46.75 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009876/13.39, allocations: 10.48 MB / 6.854 GB, free: 39.12 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002844/13.4, allocations: 139.7 kB / 6.854 GB, free: 39.11 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003192/13.4, allocations: 111.3 kB / 6.854 GB, free: 39.11 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 7.014e-06/13.4, allocations: 2.969 kB / 6.854 GB, free: 39.11 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01193/13.41, allocations: 4.499 MB / 6.858 GB, free: 38.99 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.703e-05/13.41, allocations: 12.66 kB / 6.858 GB, free: 38.99 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002401/13.41, allocations: 0.8192 MB / 6.859 GB, free: 38.93 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002547/13.41, allocations: 0.4923 MB / 6.859 GB, free: 38.93 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008264/13.42, allocations: 10.02 MB / 6.869 GB, free: 31.31 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003085/13.43, allocations: 146.7 kB / 6.869 GB, free: 31.29 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004177/13.43, allocations: 106 kB / 6.869 GB, free: 31.29 MB / 0.573 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump.dp_pump:VARIABLE(unit = "Pa" ) "Pressure change" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (249): * Single equations (assignments): 241 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {5 14,2 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007117/13.43, allocations: 158.3 kB / 6.87 GB, free: 31.18 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00053/13.43, allocations: 204 kB / 6.87 GB, free: 31.07 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009716/13.44, allocations: 4.387 MB / 6.874 GB, free: 30.84 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.513e-05/13.44, allocations: 26.97 kB / 6.874 GB, free: 30.84 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/13.44, allocations: 6.094 kB / 6.874 GB, free: 30.84 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00736/13.44, allocations: 3.663 MB / 6.878 GB, free: 30.38 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01401/13.46, allocations: 6.424 MB / 6.884 GB, free: 29.96 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/13.46, allocations: 0 / 6.884 GB, free: 29.96 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/13.46, allocations: 323.8 kB / 6.884 GB, free: 29.96 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003226/13.46, allocations: 1.031 MB / 6.885 GB, free: 29.89 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002081/13.46, allocations: 49.23 kB / 6.885 GB, free: 29.89 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008737/13.47, allocations: 10.33 MB / 6.895 GB, free: 22.25 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/13.47, allocations: 0.75 kB / 6.895 GB, free: 22.25 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01061/13.48, allocations: 5.538 MB / 6.901 GB, free: 21.86 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01816/13.5, allocations: 11.4 MB / 6.912 GB, free: 19.55 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001608/13.5, allocations: 0.5958 MB / 6.913 GB, free: 19.21 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005005/13.5, allocations: 22.75 kB / 6.913 GB, free: 19.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00173/13.5, allocations: 104.9 kB / 6.913 GB, free: 19.19 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003104/13.5, allocations: 143.3 kB / 6.913 GB, free: 19.18 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002222/13.51, allocations: 81.97 kB / 6.913 GB, free: 19.16 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.001219/13.51, allocations: 0.8933 MB / 6.914 GB, free: 18.79 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008349/13.51, allocations: 2.169 MB / 6.916 GB, free: 18.18 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (tank.medium.T,tank.level,heater.mediums[1].p,heater.mediums[1].T,radiator.mediums[1].p,radiator.mediums[1].T,pipe.mediums[1].p,pipe.mediums[1].T,pipe.mediums[2].p,pipe.mediums[2].T) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (184): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 9,2 8,5 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.003665/13.52, allocations: 1.353 MB / 6.917 GB, free: 17.78 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01014/13.53, allocations: 5.881 MB / 6.923 GB, free: 15.29 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/13.53, allocations: 3.562 kB / 6.923 GB, free: 15.29 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.003788/13.53, allocations: 2.118 MB / 6.925 GB, free: 14.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0043/13.54, allocations: 0.8008 MB / 6.926 GB, free: 14.14 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009401/13.55, allocations: 4.83 MB / 6.931 GB, free: 12.66 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002398/13.55, allocations: 2.211 MB / 6.933 GB, free: 11.77 MB / 0.573 GB Notification: Performance of SimCode: time 8.62e-07/13.55, allocations: 0 / 6.933 GB, free: 11.77 MB / 0.573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial_fmu --startTime=0 --stopTime=6000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1)