Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow",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.002484/0.002484, allocations: 183.2 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.075/1.075, allocations: 221.4 MB / 229.3 MB, free: 3.09 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000862/0.000862, allocations: 100.7 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.2473/0.2473, allocations: 37.08 MB / 368 MB, free: 47.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09113/0.3384, allocations: 66.2 MB / 434.2 MB, free: 4.852 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09232/0.4308, allocations: 60.08 MB / 494.3 MB, free: 8.668 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2232/0.654, allocations: 90.34 MB / 0.5709 GB, free: 9.164 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.6543, allocations: 72.72 kB / 0.571 GB, free: 9.094 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Thermal.mo:312:7-312:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System core.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Physiolibrary.Thermal.Sources.UnlimitedHeat$core. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Thermal.mo:312:7-312:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System skin.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Physiolibrary.Thermal.Sources.UnlimitedHeat$skin. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.007301/0.6616, allocations: 3.306 MB / 0.5742 GB, free: 5.801 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.6616, allocations: 8 kB / 0.5742 GB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.6617, allocations: 15.81 kB / 0.5742 GB, free: 5.777 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.662, allocations: 250.2 kB / 0.5745 GB, free: 5.496 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.662, allocations: 4 kB / 0.5745 GB, free: 5.492 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.662, allocations: 4.562 kB / 0.5745 GB, free: 5.488 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.6e-05/0.6621, allocations: 23.94 kB / 0.5745 GB, free: 5.465 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.993e-05/0.6621, allocations: 53.59 kB / 0.5745 GB, free: 5.406 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.6622, allocations: 4 kB / 0.5745 GB, free: 5.402 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.6622, allocations: 0 / 0.5745 GB, free: 5.402 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.6622, allocations: 0 / 0.5745 GB, free: 5.402 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.6626, allocations: 480 kB / 0.575 GB, free: 4.902 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.555e-05/0.6626, allocations: 165.1 kB / 0.5752 GB, free: 4.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.386e-05/0.6627, allocations: 84.14 kB / 0.5752 GB, free: 4.645 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.6627, allocations: 79.27 kB / 0.5753 GB, free: 4.566 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.6628, allocations: 113.8 kB / 0.5754 GB, free: 4.445 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.6628, allocations: 0 / 0.5754 GB, free: 4.445 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 6.74e-05/0.6628, allocations: 45.5 kB / 0.5755 GB, free: 4.395 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/0.6629, allocations: 51.41 kB / 0.5755 GB, free: 4.332 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.663, allocations: 174.1 kB / 0.5757 GB, free: 4.156 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.6631, allocations: 25.7 kB / 0.5757 GB, free: 4.125 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.6631, allocations: 107.9 kB / 0.5758 GB, free: 4.016 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.272e-06/0.6631, allocations: 0 / 0.5758 GB, free: 4.016 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.6631, allocations: 0 / 0.5758 GB, free: 4.016 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.915e-05/0.6632, allocations: 330.8 kB / 0.5761 GB, free: 3.684 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.396e-06/0.6632, allocations: 4 kB / 0.5761 GB, free: 3.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.322e-06/0.6633, allocations: 4 kB / 0.5761 GB, free: 3.676 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.239e-05/0.6633, allocations: 0 / 0.5761 GB, free: 3.676 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.6633, allocations: 4 kB / 0.5761 GB, free: 3.672 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.343e-05/0.6634, allocations: 45.45 kB / 0.5762 GB, free: 3.621 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.6634, allocations: 8 kB / 0.5762 GB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.6634, allocations: 0 / 0.5762 GB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.6634, allocations: 4.094 kB / 0.5762 GB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.617e-05/0.6634, allocations: 0 / 0.5762 GB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.6635, allocations: 3.078 kB / 0.5762 GB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.24e-05/0.6635, allocations: 7.844 kB / 0.5762 GB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.6635, allocations: 4 kB / 0.5762 GB, free: 3.598 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.863e-05/0.6636, allocations: 180.2 kB / 0.5764 GB, free: 3.414 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.197e-05/0.6637, allocations: 121 kB / 0.5765 GB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.786e-05/0.6637, allocations: 117.4 kB / 0.5766 GB, free: 3.172 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.323e-05/0.6638, allocations: 184.2 kB / 0.5768 GB, free: 2.984 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.596e-05/0.6638, allocations: 180.3 kB / 0.5769 GB, free: 2.801 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.737e-05/0.6639, allocations: 184.2 kB / 0.5771 GB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.6641, allocations: 421.7 kB / 0.5775 GB, free: 2.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.847e-05/0.6641, allocations: 104.9 kB / 0.5776 GB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.783e-05/0.6641, allocations: 112.9 kB / 0.5777 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.664e-05/0.6642, allocations: 176.3 kB / 0.5779 GB, free: 1.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.567e-05/0.6642, allocations: 176.3 kB / 0.5781 GB, free: 1.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.502e-05/0.6643, allocations: 184.2 kB / 0.5782 GB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.706e-05/0.6643, allocations: 180.3 kB / 0.5784 GB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001037/0.6644, allocations: 320.7 kB / 0.5787 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001961/0.6646, allocations: 0.6797 MB / 0.5794 GB, free: 160 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.871e-05/0.6647, allocations: 193.8 kB / 0.5796 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.236e-05/0.6648, allocations: 184.2 kB / 0.5797 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.158e-05/0.6649, allocations: 104.9 kB / 0.5798 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.665, allocations: 192.1 kB / 0.58 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/0.665, allocations: 104.4 kB / 0.5801 GB, free: 15.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.881e-05/0.6651, allocations: 140.7 kB / 0.5803 GB, free: 15.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000752/0.6659, allocations: 23.94 kB / 0.5803 GB, free: 15.18 MB / 410.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 (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.673e-05/0.666, allocations: 170.5 kB / 0.5804 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 3.731e-05/0.666, allocations: 0 / 0.5804 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.666, allocations: 0 / 0.5804 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.556e-06/0.666, allocations: 0 / 0.5804 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005218/0.6665, allocations: 0.6035 MB / 0.581 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.6669, allocations: 214.5 kB / 0.5812 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.6671, allocations: 0.7235 MB / 0.5819 GB, free: 13.41 MB / 410.7 MB Notification: Performance of SimCode: time 2.134e-06/0.6671, allocations: 4 kB / 0.582 GB, free: 13.41 MB / 410.7 MB (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1)