Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",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 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 190.9 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.965/1.965, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 87.97 kB / 261.4 MB, free: 13.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2205/0.2205, allocations: 43.48 MB / 352.8 MB, free: 2.012 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2351/0.4557, allocations: 65 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.8243, allocations: 58.84 MB / 476.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1406/0.965, allocations: 92.1 MB / 0.5554 GB, free: 6.797 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004872/0.9656, allocations: 99.16 kB / 0.5555 GB, free: 6.703 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5845:11-5846:124:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5858:11-5861:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5836:11-5843:48:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5849:11-5856:46:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.03463/1, allocations: 10.64 MB / 0.5659 GB, free: 11.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/1, allocations: 12 kB / 0.5659 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/1, allocations: 51.34 kB / 0.566 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/1.001, allocations: 317.1 kB / 0.5663 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/1.001, allocations: 16 kB / 0.5663 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.828e-05/1.001, allocations: 31.94 kB / 0.5663 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008288/1.002, allocations: 0.6503 MB / 0.567 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008298/1.003, allocations: 0.6036 MB / 0.5676 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/1.003, allocations: 4 kB / 0.5676 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/1.003, allocations: 0 / 0.5676 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.329e-05/1.003, allocations: 53.27 kB / 0.5676 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002575/1.005, allocations: 1.593 MB / 0.5692 GB, free: 8.348 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/1.006, allocations: 314.8 kB / 0.5695 GB, free: 8.031 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/1.006, allocations: 130.7 kB / 0.5696 GB, free: 7.902 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.813e-05/1.006, allocations: 12.22 kB / 0.5696 GB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/1.006, allocations: 34.8 kB / 0.5696 GB, free: 7.848 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 1.773e-06/1.006, allocations: 0 / 0.5696 GB, free: 7.848 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006852/1.007, allocations: 335.9 kB / 0.57 GB, free: 7.516 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/1.007, allocations: 51.41 kB / 0.57 GB, free: 7.453 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/1.007, allocations: 203 kB / 0.5702 GB, free: 7.246 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/1.007, allocations: 29.64 kB / 0.5702 GB, free: 7.211 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000207/1.007, allocations: 275.7 kB / 0.5705 GB, free: 6.938 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/1.008, allocations: 94.59 kB / 0.5706 GB, free: 6.844 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/1.008, allocations: 0 / 0.5706 GB, free: 6.844 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/1.008, allocations: 334.7 kB / 0.5709 GB, free: 6.508 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/1.008, allocations: 127.9 kB / 0.571 GB, free: 6.383 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/1.008, allocations: 237.2 kB / 0.5713 GB, free: 6.102 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/1.009, allocations: 167.8 kB / 0.5714 GB, free: 5.938 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/1.009, allocations: 4 kB / 0.5714 GB, free: 5.934 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006715/1.009, allocations: 416.9 kB / 0.5718 GB, free: 5.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/1.009, allocations: 4 kB / 0.5718 GB, free: 5.516 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/1.009, allocations: 4 kB / 0.5718 GB, free: 5.512 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/1.009, allocations: 8 kB / 0.5718 GB, free: 5.504 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007146/1.01, allocations: 160.2 kB / 0.572 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/1.012, allocations: 3.658 MB / 0.5756 GB, free: 1.551 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/1.012, allocations: 35.59 kB / 0.5756 GB, free: 1.516 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.642e-05/1.013, allocations: 19.98 kB / 0.5756 GB, free: 1.496 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001493/1.013, allocations: 116.9 kB / 0.5757 GB, free: 1.375 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.391e-05/1.013, allocations: 23.81 kB / 0.5757 GB, free: 1.352 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/1.014, allocations: 0.5542 MB / 0.5763 GB, free: 0.793 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/1.014, allocations: 7.906 kB / 0.5763 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.014, allocations: 0 / 0.5763 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/1.014, allocations: 3.984 kB / 0.5763 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000622/1.015, allocations: 389.7 kB / 0.5767 GB, free: 372 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.015, allocations: 0 / 0.5767 GB, free: 372 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006102/1.015, allocations: 139.8 kB / 0.5768 GB, free: 232 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/1.015, allocations: 0 / 0.5768 GB, free: 232 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.684e-05/1.015, allocations: 11.98 kB / 0.5768 GB, free: 220 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002443/1.018, allocations: 3.645 MB / 0.5804 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-05/1.018, allocations: 3.906 kB / 0.5804 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009704/1.019, allocations: 0.6175 MB / 0.581 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001279/1.02, allocations: 1.176 MB / 0.5821 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000242/1.02, allocations: 156.7 kB / 0.5823 GB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.693e-05/1.02, allocations: 4 kB / 0.5823 GB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/1.021, allocations: 12.11 kB / 0.5823 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.81e-05/1.021, allocations: 27.88 kB / 0.5823 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.49e-05/1.021, allocations: 19.92 kB / 0.5823 GB, free: 10.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001991/1.021, allocations: 172.1 kB / 0.5825 GB, free: 10.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001417/1.022, allocations: 187.3 kB / 0.5827 GB, free: 10 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005096/1.023, allocations: 207 kB / 0.5829 GB, free: 9.793 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001109/1.024, allocations: 412.9 kB / 0.5833 GB, free: 9.391 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.024, allocations: 0 / 0.5833 GB, free: 9.391 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006993/1.025, allocations: 247.7 kB / 0.5835 GB, free: 9.148 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/1.025, allocations: 12.42 kB / 0.5835 GB, free: 9.137 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/1.027, allocations: 0.6794 MB / 0.5842 GB, free: 8.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006099/1.027, allocations: 0.9613 MB / 0.5851 GB, free: 7.445 MB / 426.7 MB Notification: Performance of SimCode: time 3.3e-07/1.027, allocations: 0 / 0.5851 GB, free: 7.445 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat