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: translateModel(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") translateModel(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") [: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.003551/0.003551, allocations: 178.7 kB / 7.462 MB, free: 2.492 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.173/1.173, allocations: 221.4 MB / 229.3 MB, free: 3.348 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.0009073/0.0009073, allocations: 94.14 kB / 280.1 MB, free: 1.34 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.3396/0.3396, allocations: 37.08 MB / 368 MB, free: 47.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/7.985e-06, allocations: 0 / 434.1 MB, free: 4.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1262, allocations: 60.08 MB / 494.2 MB, free: 8.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3634/0.4896, allocations: 90.34 MB / 0.5708 GB, free: 9.234 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000198/0.4899, allocations: 75.95 kB / 0.5709 GB, free: 9.16 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: Performance of FrontEnd: time 0.007514/0.4974, allocations: 2.9 MB / 0.5737 GB, free: 6.293 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.4974, allocations: 0 / 0.5737 GB, free: 6.293 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.0004467/0.4979, allocations: 405.2 kB / 0.5741 GB, free: 5.855 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.498, allocations: 23.95 kB / 0.5741 GB, free: 5.832 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.498, allocations: 15.81 kB / 0.5741 GB, free: 5.816 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/0.4984, allocations: 254.2 kB / 0.5744 GB, free: 5.531 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.4984, allocations: 4 kB / 0.5744 GB, free: 5.527 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.4984, allocations: 0 / 0.5744 GB, free: 5.527 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.63e-05/0.4985, allocations: 20 kB / 0.5744 GB, free: 5.508 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.4986, allocations: 57.53 kB / 0.5744 GB, free: 5.445 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4986, allocations: 1.969 kB / 0.5744 GB, free: 5.445 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.4987, allocations: 2.844 kB / 0.5745 GB, free: 5.445 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.4987, allocations: 4 kB / 0.5745 GB, free: 5.441 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005381/0.4992, allocations: 463.7 kB / 0.5749 GB, free: 4.949 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.206e-05/0.4993, allocations: 169.1 kB / 0.5751 GB, free: 4.773 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.535e-05/0.4994, allocations: 84.14 kB / 0.5751 GB, free: 4.688 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.4994, allocations: 75.28 kB / 0.5752 GB, free: 4.613 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/0.4995, allocations: 109.8 kB / 0.5753 GB, free: 4.496 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.4995, allocations: 0 / 0.5753 GB, free: 4.496 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 8.956e-05/0.4996, allocations: 41.45 kB / 0.5754 GB, free: 4.449 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.4996, allocations: 51.41 kB / 0.5754 GB, free: 4.387 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.4998, allocations: 174.1 kB / 0.5756 GB, free: 4.211 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.4998, allocations: 29.7 kB / 0.5756 GB, free: 4.176 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.454e-05/0.4999, allocations: 111.9 kB / 0.5757 GB, free: 4.062 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-06/0.4999, allocations: 4 kB / 0.5757 GB, free: 4.059 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.4999, allocations: 0 / 0.5757 GB, free: 4.059 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.5, allocations: 322.8 kB / 0.576 GB, free: 3.734 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-06/0.5001, allocations: 0 / 0.576 GB, free: 3.734 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-06/0.5001, allocations: 4 kB / 0.576 GB, free: 3.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.767e-05/0.5001, allocations: 4 kB / 0.576 GB, free: 3.727 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5001, allocations: 4.062 kB / 0.576 GB, free: 3.723 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001086/0.5002, allocations: 50.16 kB / 0.5761 GB, free: 3.668 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.5002, allocations: 4 kB / 0.5761 GB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5002, allocations: 112 / 0.5761 GB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.5003, allocations: 8.438 kB / 0.5761 GB, free: 3.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.156e-05/0.5003, allocations: 0 / 0.5761 GB, free: 3.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.5003, allocations: 3.938 kB / 0.5761 GB, free: 3.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.329e-05/0.5004, allocations: 3.906 kB / 0.5761 GB, free: 3.648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.5004, allocations: 3.188 kB / 0.5761 GB, free: 3.648 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 0.0001083/0.5005, allocations: 184.3 kB / 0.5763 GB, free: 3.461 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.5006, allocations: 113 kB / 0.5764 GB, free: 3.344 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.967e-05/0.5007, allocations: 125.5 kB / 0.5765 GB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.068e-05/0.5008, allocations: 180.2 kB / 0.5767 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.902e-05/0.5009, allocations: 176.3 kB / 0.5768 GB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.41e-05/0.501, allocations: 187 kB / 0.577 GB, free: 2.668 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.5012, allocations: 429.7 kB / 0.5774 GB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.091e-05/0.5013, allocations: 104.9 kB / 0.5775 GB, free: 2.094 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.157e-05/0.5014, allocations: 105 kB / 0.5776 GB, free: 1.984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.743e-05/0.5014, allocations: 184.2 kB / 0.5778 GB, free: 1.797 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.387e-05/0.5015, allocations: 176.3 kB / 0.578 GB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.76e-05/0.5016, allocations: 180.3 kB / 0.5781 GB, free: 1.434 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.57e-05/0.5017, allocations: 180.2 kB / 0.5783 GB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001498/0.5018, allocations: 319.6 kB / 0.5786 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.574e-05/0.5019, allocations: 191 kB / 0.5788 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.502, allocations: 184.3 kB / 0.579 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.5022, allocations: 105 kB / 0.5791 GB, free: 416 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/0.5022, allocations: 180.2 kB / 0.5793 GB, free: 228 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/0.5023, allocations: 101 kB / 0.5793 GB, free: 120 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001215/0.5024, allocations: 140.7 kB / 0.5795 GB, free: 15.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002527/0.5027, allocations: 27.83 kB / 0.5795 GB, free: 15.95 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 0.000129/0.5028, allocations: 170.5 kB / 0.5797 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.832e-05/0.5029, allocations: 4 kB / 0.5797 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5029, allocations: 0 / 0.5797 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.136e-06/0.5029, allocations: 3.938 kB / 0.5797 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000653/0.5035, allocations: 0.6016 MB / 0.5803 GB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00036/0.5039, allocations: 206.6 kB / 0.5805 GB, free: 14.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/0.5042, allocations: 0.7313 MB / 0.5812 GB, free: 14.18 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5042, allocations: 0 / 0.5812 GB, free: 14.18 MB / 410.7 MB Notification: Performance of Templates: time 0.004457/0.5087, allocations: 1.731 MB / 0.5829 GB, free: 12.52 MB / 410.7 MB make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.makefile (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 & ./Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1)