Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.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.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_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 trunk/package.mo): time 0.001195/0.001195, allocations: 203 kB / 8.542 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.243/1.243, allocations: 225.5 MB / 234.4 MB, free: 3.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009569/0.0009569, allocations: 91.55 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1986/0.1986, allocations: 45.14 MB / 383.3 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2389/0.4376, allocations: 69.39 MB / 452.7 MB, free: 76.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.5462, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3137/0.8599, allocations: 94.81 MB / 0.5965 GB, free: 8.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.8602, allocations: 93.2 kB / 0.5966 GB, free: 8.219 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.03769/0.8979, allocations: 14.78 MB / 0.611 GB, free: 11.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.8979, allocations: 12 kB / 0.611 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.916e-05/0.898, allocations: 51.34 kB / 0.611 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.8984, allocations: 306.2 kB / 0.6113 GB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.8984, allocations: 19.91 kB / 0.6114 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.936e-05/0.8985, allocations: 36 kB / 0.6114 GB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007989/0.8993, allocations: 0.6518 MB / 0.612 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008129/0.9001, allocations: 0.6119 MB / 0.6126 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.9001, allocations: 4 kB / 0.6126 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.73e-05/0.9002, allocations: 0 / 0.6126 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.595e-05/0.9003, allocations: 41.28 kB / 0.6127 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.9022, allocations: 1.316 MB / 0.614 GB, free: 8.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007735/0.903, allocations: 0.5492 MB / 0.6145 GB, free: 8.477 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.9033, allocations: 180.5 kB / 0.6147 GB, free: 8.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/0.9033, allocations: 15.97 kB / 0.6147 GB, free: 8.305 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.9034, allocations: 42.17 kB / 0.6147 GB, free: 8.258 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 1.443e-06/0.9034, allocations: 0 / 0.6147 GB, free: 8.258 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.0007784/0.9041, allocations: 427.2 kB / 0.6151 GB, free: 7.871 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.9042, allocations: 59.39 kB / 0.6152 GB, free: 7.801 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.9044, allocations: 172.1 kB / 0.6153 GB, free: 7.637 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.9044, allocations: 25.7 kB / 0.6154 GB, free: 7.605 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.9045, allocations: 236.7 kB / 0.6156 GB, free: 7.387 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.356e-05/0.9046, allocations: 120.1 kB / 0.6157 GB, free: 7.281 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.066e-05/0.9047, allocations: 0 / 0.6157 GB, free: 7.281 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.9048, allocations: 341.1 kB / 0.616 GB, free: 6.949 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.9051, allocations: 169.6 kB / 0.6162 GB, free: 6.801 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.9054, allocations: 273.5 kB / 0.6165 GB, free: 6.523 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.9057, allocations: 224.7 kB / 0.6167 GB, free: 6.324 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.9057, allocations: 8 kB / 0.6167 GB, free: 6.316 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007627/0.9065, allocations: 0.4995 MB / 0.6172 GB, free: 5.855 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.9065, allocations: 4 kB / 0.6172 GB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.9065, allocations: 4 kB / 0.6172 GB, free: 5.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.9065, allocations: 4 kB / 0.6172 GB, free: 5.844 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.9077, allocations: 218.4 kB / 0.6174 GB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004324/0.912, allocations: 7.408 MB / 0.6246 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.9123, allocations: 28.02 kB / 0.6246 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/0.9124, allocations: 22.92 kB / 0.6247 GB, free: 13.98 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.0001742/0.9126, allocations: 124.7 kB / 0.6248 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-05/0.9126, allocations: 23.72 kB / 0.6248 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.9137, allocations: 0.6294 MB / 0.6254 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.9137, allocations: 4 kB / 0.6254 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.9137, allocations: 3.984 kB / 0.6254 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.9138, allocations: 4 kB / 0.6254 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005727/0.9143, allocations: 406.8 kB / 0.6258 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.9143, allocations: 0 / 0.6258 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.9154, allocations: 207 kB / 0.626 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.9154, allocations: 0 / 0.626 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/0.9154, allocations: 15.55 kB / 0.626 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004103/0.9195, allocations: 7.412 MB / 0.6333 GB, free: 5.039 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.9196, allocations: 3.906 kB / 0.6333 GB, free: 5.035 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007058/0.9203, allocations: 0.5266 MB / 0.6338 GB, free: 4.535 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008136/0.9211, allocations: 0.9031 MB / 0.6347 GB, free: 3.652 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.9212, allocations: 104.7 kB / 0.6348 GB, free: 3.531 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.533e-05/0.9212, allocations: 0 / 0.6348 GB, free: 3.531 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.9215, allocations: 15.92 kB / 0.6348 GB, free: 3.516 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-05/0.9216, allocations: 31.7 kB / 0.6348 GB, free: 3.488 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.9216, allocations: 19.61 kB / 0.6348 GB, free: 3.473 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001002/0.9217, allocations: 135.6 kB / 0.635 GB, free: 3.355 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001118/0.9228, allocations: 166.3 kB / 0.6351 GB, free: 3.199 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.0003131/0.9232, allocations: 176.7 kB / 0.6353 GB, free: 3.023 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.9249, allocations: 0.5874 MB / 0.6359 GB, free: 2.477 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9249, allocations: 0.625 kB / 0.6359 GB, free: 2.477 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.9262, allocations: 386.7 kB / 0.6362 GB, free: 2.121 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.9264, allocations: 27.09 kB / 0.6363 GB, free: 2.098 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.9278, allocations: 0.6893 MB / 0.6369 GB, free: 1.418 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006131/0.9284, allocations: 0.9606 MB / 0.6379 GB, free: 460 kB / 426.7 MB Notification: Performance of SimCode: time 2.91e-07/0.9284, allocations: 0 / 0.6379 GB, free: 460 kB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat does not exist to compare? outputFormat=mat