Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.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: translateModel(Physiolibrary.Thermal.Examples.SkinHeatFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow") translateModel(Physiolibrary.Thermal.Examples.SkinHeatFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow") [: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.003109/0.003109, allocations: 179.8 kB / 7.464 MB, free: 2.484 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.24/1.24, allocations: 221.4 MB / 229.3 MB, free: 3.234 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.0009536/0.0009534, allocations: 96.66 kB / 280.1 MB, free: 1.309 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.3327/0.3327, allocations: 37.07 MB / 368 MB, free: 47.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.325e-06/8.355e-06, allocations: 3.938 kB / 434.1 MB, free: 4.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1272, allocations: 60.08 MB / 494.2 MB, free: 8.781 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.338/0.4653, allocations: 90.34 MB / 0.5708 GB, free: 9.312 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.4655, allocations: 63.97 kB / 0.5709 GB, free: 9.25 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 bodyCore.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$bodyCore. 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: Performance of FrontEnd: time 0.007575/0.4731, allocations: 2.912 MB / 0.5737 GB, free: 6.387 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.4732, allocations: 4 kB / 0.5737 GB, free: 6.383 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003998/0.4736, allocations: 401.1 kB / 0.5741 GB, free: 5.949 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.4736, allocations: 8.031 kB / 0.5741 GB, free: 5.941 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.4737, allocations: 15.81 kB / 0.5741 GB, free: 5.926 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.474, allocations: 264.8 kB / 0.5744 GB, free: 5.633 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.474, allocations: 4 kB / 0.5744 GB, free: 5.629 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.4741, allocations: 4 kB / 0.5744 GB, free: 5.625 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.631e-05/0.4741, allocations: 20 kB / 0.5744 GB, free: 5.605 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.666e-05/0.4742, allocations: 49.59 kB / 0.5744 GB, free: 5.551 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.4743, allocations: 0 / 0.5744 GB, free: 5.551 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.4743, allocations: 2.734 kB / 0.5744 GB, free: 5.551 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.4743, allocations: 4 kB / 0.5744 GB, free: 5.547 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004875/0.4748, allocations: 471.7 kB / 0.5749 GB, free: 5.047 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.129e-05/0.4749, allocations: 165.1 kB / 0.5751 GB, free: 4.875 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.588e-05/0.4749, allocations: 84.08 kB / 0.5751 GB, free: 4.789 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.4749, allocations: 75.28 kB / 0.5752 GB, free: 4.715 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.475, allocations: 113.8 kB / 0.5753 GB, free: 4.594 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 2.164e-06/0.475, allocations: 3.984 kB / 0.5753 GB, free: 4.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 9.275e-05/0.4751, allocations: 41.52 kB / 0.5754 GB, free: 4.543 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.4751, allocations: 55.39 kB / 0.5754 GB, free: 4.477 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.4753, allocations: 170.1 kB / 0.5756 GB, free: 4.305 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.4753, allocations: 25.7 kB / 0.5756 GB, free: 4.273 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.4754, allocations: 111.9 kB / 0.5757 GB, free: 4.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.4754, allocations: 0 / 0.5757 GB, free: 4.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-06/0.4754, allocations: 4 kB / 0.5757 GB, free: 4.156 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4755, allocations: 330.8 kB / 0.576 GB, free: 3.824 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.005e-06/0.4756, allocations: 0 / 0.576 GB, free: 3.824 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.166e-06/0.4756, allocations: 4 kB / 0.576 GB, free: 3.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.464e-05/0.4756, allocations: 3.938 kB / 0.576 GB, free: 3.816 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4756, allocations: 0 / 0.576 GB, free: 3.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001029/0.4757, allocations: 49.52 kB / 0.5761 GB, free: 3.762 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.4757, allocations: 4.109 kB / 0.5761 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.4757, allocations: 9.438 kB / 0.5761 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.4758, allocations: 0 / 0.5761 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.791e-05/0.4758, allocations: 4 kB / 0.5761 GB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.4758, allocations: 0 / 0.5761 GB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.394e-05/0.4759, allocations: 3.906 kB / 0.5761 GB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.4759, allocations: 0 / 0.5761 GB, free: 3.742 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 9.459e-05/0.476, allocations: 176.3 kB / 0.5763 GB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.651e-05/0.476, allocations: 124.9 kB / 0.5764 GB, free: 3.434 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.89e-05/0.4761, allocations: 121.5 kB / 0.5765 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-05/0.4762, allocations: 184.2 kB / 0.5767 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.92e-05/0.4762, allocations: 176.3 kB / 0.5768 GB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.565e-05/0.4763, allocations: 180.2 kB / 0.577 GB, free: 2.762 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.4766, allocations: 425.7 kB / 0.5774 GB, free: 2.301 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.807e-05/0.4766, allocations: 104.9 kB / 0.5775 GB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.949e-05/0.4767, allocations: 111.7 kB / 0.5776 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.967e-05/0.4767, allocations: 180.2 kB / 0.5778 GB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.006e-05/0.4768, allocations: 180.3 kB / 0.578 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.797e-05/0.4769, allocations: 188.2 kB / 0.5782 GB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.293e-05/0.477, allocations: 176.3 kB / 0.5783 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001451/0.4771, allocations: 315.6 kB / 0.5786 GB, free: 1.008 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.686e-05/0.4772, allocations: 199 kB / 0.5788 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.282e-05/0.4773, allocations: 184.2 kB / 0.579 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.4774, allocations: 101 kB / 0.5791 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.013e-05/0.4775, allocations: 180.3 kB / 0.5793 GB, free: 320 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.4775, allocations: 101 kB / 0.5794 GB, free: 212 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.000107/0.4776, allocations: 148.6 kB / 0.5795 GB, free: 64 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002368/0.4779, allocations: 23.84 kB / 0.5795 GB, free: 40 kB / 394.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 0.0001318/0.478, allocations: 166.5 kB / 0.5797 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.445e-05/0.4781, allocations: 4 kB / 0.5797 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4781, allocations: 0 / 0.5797 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.91e-07/0.4781, allocations: 0 / 0.5797 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006234/0.4787, allocations: 0.5913 MB / 0.5803 GB, free: 15.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.4791, allocations: 218.5 kB / 0.5805 GB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/0.4794, allocations: 0.7313 MB / 0.5812 GB, free: 14.27 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4794, allocations: 0 / 0.5812 GB, free: 14.27 MB / 410.7 MB Notification: Performance of Templates: time 0.004173/0.4836, allocations: 1.733 MB / 0.5829 GB, free: 12.61 MB / 410.7 MB make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.makefile (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.sim & ./Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe 2>&1)