Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.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.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",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.001193/0.001193, allocations: 190.1 kB / 7.802 MB, free: 2.504 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.557/1.557, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.001013/0.001013, allocations: 92.39 kB / 261.4 MB, free: 13.55 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.2149/0.2149, allocations: 43.49 MB / 352.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2412/0.4561, allocations: 64.99 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.8254, allocations: 58.84 MB / 476.7 MB, free: 5.316 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1525/0.978, allocations: 92.57 MB / 0.5559 GB, free: 6.422 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003528/0.9784, allocations: 91.94 kB / 0.556 GB, free: 6.332 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.05087/1.029, allocations: 12.01 MB / 0.5677 GB, free: 10.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/1.029, allocations: 12 kB / 0.5677 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.612e-05/1.029, allocations: 43.44 kB / 0.5678 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/1.03, allocations: 286.4 kB / 0.568 GB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/1.03, allocations: 20 kB / 0.5681 GB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.097e-05/1.03, allocations: 28 kB / 0.5681 GB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001024/1.031, allocations: 0.6034 MB / 0.5687 GB, free: 9.074 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008795/1.032, allocations: 0.5802 MB / 0.5692 GB, free: 8.484 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/1.032, allocations: 3.906 kB / 0.5692 GB, free: 8.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/1.032, allocations: 0 / 0.5692 GB, free: 8.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-05/1.032, allocations: 49.28 kB / 0.5693 GB, free: 8.434 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/1.034, allocations: 1.241 MB / 0.5705 GB, free: 7.152 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008072/1.035, allocations: 0.5493 MB / 0.571 GB, free: 6.594 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/1.036, allocations: 172.7 kB / 0.5712 GB, free: 6.422 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.144e-05/1.036, allocations: 19.97 kB / 0.5712 GB, free: 6.402 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/1.036, allocations: 34.56 kB / 0.5713 GB, free: 6.359 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 2.415e-06/1.036, allocations: 0 / 0.5713 GB, free: 6.359 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.0007823/1.036, allocations: 429 kB / 0.5717 GB, free: 5.934 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/1.036, allocations: 55.41 kB / 0.5717 GB, free: 5.867 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/1.037, allocations: 174.2 kB / 0.5719 GB, free: 5.691 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/1.037, allocations: 29.7 kB / 0.5719 GB, free: 5.656 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/1.037, allocations: 212.5 kB / 0.5721 GB, free: 5.445 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/1.037, allocations: 122.2 kB / 0.5722 GB, free: 5.324 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/1.037, allocations: 0 / 0.5722 GB, free: 5.324 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/1.037, allocations: 330.8 kB / 0.5726 GB, free: 4.992 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/1.037, allocations: 172.7 kB / 0.5727 GB, free: 4.824 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/1.038, allocations: 266.5 kB / 0.573 GB, free: 4.527 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/1.038, allocations: 215.8 kB / 0.5732 GB, free: 4.316 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.038, allocations: 7.906 kB / 0.5732 GB, free: 4.309 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008057/1.039, allocations: 0.4932 MB / 0.5737 GB, free: 3.805 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/1.039, allocations: 8.031 kB / 0.5737 GB, free: 3.797 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.039, allocations: 4 kB / 0.5737 GB, free: 3.793 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/1.039, allocations: 11.84 kB / 0.5737 GB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/1.04, allocations: 203.8 kB / 0.5739 GB, free: 3.582 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00463/1.045, allocations: 7.392 MB / 0.5811 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/1.045, allocations: 31.7 kB / 0.5811 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/1.045, allocations: 23.98 kB / 0.5812 GB, free: 11.86 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001868/1.045, allocations: 126.2 kB / 0.5813 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.614e-05/1.046, allocations: 27.66 kB / 0.5813 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/1.047, allocations: 0.632 MB / 0.5819 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/1.047, allocations: 0 / 0.5819 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.047, allocations: 4 kB / 0.5819 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/1.047, allocations: 3.984 kB / 0.5819 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005827/1.047, allocations: 393.7 kB / 0.5823 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.047, allocations: 3.938 kB / 0.5823 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/1.048, allocations: 199.8 kB / 0.5825 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/1.048, allocations: 0 / 0.5825 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/1.048, allocations: 11.98 kB / 0.5825 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004701/1.053, allocations: 7.388 MB / 0.5897 GB, free: 2.746 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.053, allocations: 0 / 0.5897 GB, free: 2.746 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008314/1.054, allocations: 0.5274 MB / 0.5902 GB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009019/1.055, allocations: 0.9021 MB / 0.5911 GB, free: 1.281 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/1.055, allocations: 108.7 kB / 0.5912 GB, free: 1.156 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.877e-05/1.055, allocations: 0 / 0.5912 GB, free: 1.156 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/1.055, allocations: 19.98 kB / 0.5912 GB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.245e-05/1.055, allocations: 27.95 kB / 0.5913 GB, free: 1.109 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.52e-05/1.055, allocations: 8 kB / 0.5913 GB, free: 1.102 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001388/1.056, allocations: 139.5 kB / 0.5914 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001288/1.057, allocations: 155.4 kB / 0.5916 GB, free: 0.8125 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003959/1.057, allocations: 180.9 kB / 0.5917 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001746/1.059, allocations: 0.5741 MB / 0.5923 GB, free: 56 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.059, allocations: 0 / 0.5923 GB, free: 56 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001295/1.06, allocations: 380.5 kB / 0.5927 GB, free: 15.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/1.061, allocations: 23.78 kB / 0.5927 GB, free: 15.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/1.062, allocations: 0.6547 MB / 0.5933 GB, free: 14.97 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006396/1.063, allocations: 0.9277 MB / 0.5942 GB, free: 14.02 MB / 442.7 MB Notification: Performance of SimCode: time 7.32e-07/1.063, allocations: 0 / 0.5942 GB, free: 14.02 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat