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: "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow",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.001805/0.001805, allocations: 184.5 kB / 7.462 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.097/1.097, allocations: 221.4 MB / 229.3 MB, free: 3.148 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.0008675/0.0008675, allocations: 88.83 kB / 280.1 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.2729/0.2729, allocations: 37.07 MB / 368 MB, free: 47.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09841/0.3714, allocations: 66.2 MB / 434.2 MB, free: 4.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.4757, allocations: 60.08 MB / 494.3 MB, free: 8.668 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2638/0.7395, allocations: 90.34 MB / 0.5709 GB, free: 9.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001828/0.7397, allocations: 75.7 kB / 0.571 GB, free: 9.109 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: 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.007718/0.7475, allocations: 3.305 MB / 0.5742 GB, free: 5.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.7475, allocations: 8 kB / 0.5742 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.7476, allocations: 15.81 kB / 0.5742 GB, free: 5.797 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.7479, allocations: 254.2 kB / 0.5745 GB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-06/0.7479, allocations: 0 / 0.5745 GB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.7479, allocations: 4 kB / 0.5745 GB, free: 5.508 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.122e-05/0.748, allocations: 23.94 kB / 0.5745 GB, free: 5.484 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.025e-05/0.7481, allocations: 61.02 kB / 0.5745 GB, free: 5.422 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.7481, allocations: 4 kB / 0.5745 GB, free: 5.418 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.7481, allocations: 0 / 0.5745 GB, free: 5.418 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.7481, allocations: 0 / 0.5745 GB, free: 5.418 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/0.7486, allocations: 474.4 kB / 0.575 GB, free: 4.918 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.632e-05/0.7486, allocations: 170 kB / 0.5752 GB, free: 4.742 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.771e-05/0.7487, allocations: 80.14 kB / 0.5752 GB, free: 4.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.7487, allocations: 75.28 kB / 0.5753 GB, free: 4.586 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.7488, allocations: 109.8 kB / 0.5754 GB, free: 4.469 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.7488, allocations: 0 / 0.5754 GB, free: 4.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 7.073e-05/0.7488, allocations: 41.52 kB / 0.5755 GB, free: 4.422 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.7489, allocations: 55.41 kB / 0.5755 GB, free: 4.355 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.749, allocations: 178.1 kB / 0.5757 GB, free: 4.176 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.7491, allocations: 25.7 kB / 0.5757 GB, free: 4.145 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.7491, allocations: 113 kB / 0.5758 GB, free: 4.031 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.432e-06/0.7491, allocations: 0 / 0.5758 GB, free: 4.031 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.7491, allocations: 0 / 0.5758 GB, free: 4.031 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.58e-05/0.7492, allocations: 322.8 kB / 0.5761 GB, free: 3.707 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.685e-06/0.7493, allocations: 0 / 0.5761 GB, free: 3.707 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.563e-06/0.7493, allocations: 8 kB / 0.5761 GB, free: 3.699 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.354e-05/0.7493, allocations: 4 kB / 0.5761 GB, free: 3.695 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.7493, allocations: 0 / 0.5761 GB, free: 3.695 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.87e-05/0.7494, allocations: 53.44 kB / 0.5762 GB, free: 3.637 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/0.7494, allocations: 4 kB / 0.5762 GB, free: 3.633 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.7494, allocations: 0 / 0.5762 GB, free: 3.633 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.7494, allocations: 0 / 0.5762 GB, free: 3.633 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.254e-05/0.7495, allocations: 6.906 kB / 0.5762 GB, free: 3.629 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.7495, allocations: 112 / 0.5762 GB, free: 3.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.26e-05/0.7495, allocations: 11.94 kB / 0.5762 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.7495, allocations: 0 / 0.5762 GB, free: 3.617 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.859e-05/0.7496, allocations: 180.3 kB / 0.5764 GB, free: 3.434 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.7497, allocations: 117 kB / 0.5765 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.538e-05/0.7498, allocations: 121.4 kB / 0.5766 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.366e-05/0.7498, allocations: 180.3 kB / 0.5768 GB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.942e-05/0.7499, allocations: 188.2 kB / 0.5769 GB, free: 2.816 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.514e-05/0.7499, allocations: 180.2 kB / 0.5771 GB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.7501, allocations: 421.8 kB / 0.5775 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.863e-05/0.7502, allocations: 108.9 kB / 0.5776 GB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.898e-05/0.7502, allocations: 104.9 kB / 0.5777 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.435e-05/0.7502, allocations: 176.3 kB / 0.5779 GB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-05/0.7503, allocations: 184.3 kB / 0.5781 GB, free: 1.586 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.024e-05/0.7503, allocations: 180.8 kB / 0.5782 GB, free: 1.402 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.733e-05/0.7504, allocations: 176.3 kB / 0.5784 GB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001058/0.7505, allocations: 320.7 kB / 0.5787 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001921/0.7507, allocations: 0.6836 MB / 0.5794 GB, free: 180 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.956e-05/0.7508, allocations: 193.8 kB / 0.5796 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.431e-05/0.7509, allocations: 183.6 kB / 0.5797 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.371e-05/0.751, allocations: 101 kB / 0.5798 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.751, allocations: 196.1 kB / 0.58 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.7511, allocations: 105.3 kB / 0.5801 GB, free: 15.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001023/0.7512, allocations: 136.7 kB / 0.5803 GB, free: 15.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007554/0.7519, allocations: 19.94 kB / 0.5803 GB, free: 15.21 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.923e-05/0.752, allocations: 170.5 kB / 0.5804 GB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 3.788e-05/0.7521, allocations: 4 kB / 0.5804 GB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.7521, allocations: 4.062 kB / 0.5804 GB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.7521, allocations: 0 / 0.5804 GB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005426/0.7526, allocations: 0.6021 MB / 0.581 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003143/0.753, allocations: 210.6 kB / 0.5812 GB, free: 14.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.7533, allocations: 0.7274 MB / 0.5819 GB, free: 13.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.863e-06/0.7533, allocations: 0 / 0.5819 GB, free: 13.43 MB / 410.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe 2>&1)