Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr LibRAS_LibRAS.Culture.SSCulture_V_noEvent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package LibRAS with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(LibRAS.Culture.SSCulture_V_noEvent,fileNamePrefix="LibRAS_LibRAS_Culture_SSCulture_V_noEvent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(LibRAS.Culture.SSCulture_V_noEvent,fileNamePrefix="LibRAS_LibRAS_Culture_SSCulture_V_noEvent",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 3.2.2+maint.om/package.mo): time 0.0009447/0.0009447, allocations: 189 kB / 7.849 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo): time 0.02225/0.02225, allocations: 5.427 MB / 13.69 MB, free: 2.293 MB / 10.45 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 0.9659/0.9659, allocations: 194.2 MB / 209.6 MB, free: 1.898 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001656/0.001656, allocations: 114.1 kB / 255.8 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.07967/0.08135, allocations: 51.87 MB / 307.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06628/0.1477, allocations: 45.74 MB / 353.4 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1639/0.3115, allocations: 71.89 MB / 425.3 MB, free: 14.64 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001427/0.3117, allocations: 69.8 kB / 425.4 MB, free: 14.61 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 326 * Number of variables: 326 Notification: Performance of Generate backend data structure: time 0.3645/0.6763, allocations: 42.93 MB / 468.3 MB, free: 6.035 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.6763, allocations: 11.94 kB / 468.3 MB, free: 6.023 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003069/0.6794, allocations: 0.6512 MB / 469 MB, free: 5.367 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008766/0.6882, allocations: 4.222 MB / 473.2 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.71e-05/0.6883, allocations: 40 kB / 473.2 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005788/0.6888, allocations: 103.8 kB / 473.3 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0208/0.7097, allocations: 15.7 MB / 489 MB, free: 1.219 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005554/0.7152, allocations: 3.946 MB / 493 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.7153, allocations: 0.75 kB / 493 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002763/0.7155, allocations: 4 kB / 493 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-05/0.7156, allocations: 32.56 kB / 493 MB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01655/0.7321, allocations: 10.32 MB / 0.4915 GB, free: 2.773 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005406/0.7376, allocations: 4.095 MB / 0.4955 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00492/0.7425, allocations: 4.056 MB / 0.4995 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/0.7428, allocations: 38.27 kB / 0.4995 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005039/0.7478, allocations: 4 MB / 0.5034 GB, free: 6.371 MB / 394.7 MB Notification: Performance of pre-optimization done (n=310): time 6.242e-06/0.7478, allocations: 0 / 0.5034 GB, free: 6.371 MB / 394.7 MB Notification: Performance of matching and sorting (n=310): time 0.09636/0.8442, allocations: 6.9 MB / 0.5102 GB, free: 163.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/0.8443, allocations: 323 kB / 0.5105 GB, free: 162.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003067/0.8474, allocations: 2.439 MB / 0.5129 GB, free: 162.6 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007398/0.8481, allocations: 32.23 kB / 0.5129 GB, free: 162.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.8484, allocations: 450.2 kB / 0.5133 GB, free: 162.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007722/0.8491, allocations: 1.064 MB / 0.5144 GB, free: 162.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002659/0.8494, allocations: 0 / 0.5144 GB, free: 162.1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.8495, allocations: 434.6 kB / 0.5148 GB, free: 161.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003586/0.8531, allocations: 3.148 MB / 0.5179 GB, free: 161.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003912/0.857, allocations: 3.387 MB / 0.5212 GB, free: 161.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004496/0.8615, allocations: 3.434 MB / 0.5245 GB, free: 160.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.8616, allocations: 4.938 kB / 0.5245 GB, free: 160.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=355) (initialization): time 0.009223/0.8708, allocations: 7.248 MB / 0.5316 GB, free: 158.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.8708, allocations: 6.406 kB / 0.5316 GB, free: 158.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.8708, allocations: 6.938 kB / 0.5316 GB, free: 158.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-05/0.8709, allocations: 14.03 kB / 0.5316 GB, free: 158.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00559/0.8765, allocations: 1.582 MB / 0.5332 GB, free: 158.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/0.8765, allocations: 16.66 kB / 0.5332 GB, free: 158.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003633/0.8801, allocations: 1.067 MB / 0.5342 GB, free: 158.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000321/0.8805, allocations: 83.91 kB / 0.5343 GB, free: 158.4 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (355): * Single equations (assignments): 355 * 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.0005418/0.881, allocations: 148.9 kB / 0.5344 GB, free: 158.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004644/0.8815, allocations: 370.1 kB / 0.5348 GB, free: 158.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.8829, allocations: 0.7958 MB / 0.5356 GB, free: 157.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/0.8829, allocations: 31.33 kB / 0.5356 GB, free: 157.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.73e-05/0.8829, allocations: 3.094 kB / 0.5356 GB, free: 157.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-05/0.8829, allocations: 18.28 kB / 0.5356 GB, free: 157.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005605/0.8886, allocations: 4.838 MB / 0.5403 GB, free: 155.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.8886, allocations: 0 / 0.5403 GB, free: 155.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005192/0.8938, allocations: 1.532 MB / 0.5418 GB, free: 154.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-05/0.8938, allocations: 16 kB / 0.5419 GB, free: 154.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003086/0.8941, allocations: 35.06 kB / 0.5419 GB, free: 154.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/0.8941, allocations: 12 kB / 0.5419 GB, free: 154.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.8941, allocations: 6.719 kB / 0.5419 GB, free: 154.5 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01288/0.907, allocations: 13.18 MB / 0.5548 GB, free: 142.9 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02794/0.935, allocations: 29.39 MB / 0.5835 GB, free: 114 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004081/0.9354, allocations: 452.2 kB / 0.5839 GB, free: 113.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006907/0.9361, allocations: 23.97 kB / 0.5839 GB, free: 113.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003747/0.9399, allocations: 0.9399 MB / 0.5849 GB, free: 112.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005317/0.9404, allocations: 173.4 kB / 0.585 GB, free: 112.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003198/0.9407, allocations: 91.97 kB / 0.5851 GB, free: 112.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.00214/0.9429, allocations: 1.888 MB / 0.587 GB, free: 110.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002365/0.9452, allocations: 0.7596 MB / 0.5877 GB, free: 109.7 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 45 (n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8],n[9],intestineState1[1],intestineState1[2],intestineState1[3],intestineState1[4],intestineState1[5],intestineState1[6],intestineState1[7],intestineState1[8],intestineState1[9],intestineState2[1],intestineState2[2],intestineState2[3],intestineState2[4],intestineState2[5],intestineState2[6],intestineState2[7],intestineState2[8],intestineState2[9],F_digested_scaled[1],F_digested_scaled[2],F_digested_scaled[3],F_digested_scaled[4],F_digested_scaled[5],F_digested_scaled[6],F_digested_scaled[7],F_digested_scaled[8],F_digested_scaled[9],feedSignal_scaled[1],feedSignal_scaled[2],feedSignal_scaled[3],feedSignal_scaled[4],feedSignal_scaled[5],feedSignal_scaled[6],feedSignal_scaled[7],feedSignal_scaled[8],feedSignal_scaled[9]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (310): * Single equations (assignments): 310 * 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.0004982/0.9458, allocations: 234.3 kB / 0.5879 GB, free: 109.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007997/0.9538, allocations: 7.102 MB / 0.5949 GB, free: 102.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.9538, allocations: 4 kB / 0.5949 GB, free: 102.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003968/0.9577, allocations: 3.678 MB / 0.5985 GB, free: 98.76 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.9591, allocations: 284.6 kB / 0.5987 GB, free: 98.49 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.9701, allocations: 7.624 MB / 0.6062 GB, free: 90.85 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003894/0.974, allocations: 2.713 MB / 0.6088 GB, free: 88.11 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.974, allocations: 3.844 kB / 0.6088 GB, free: 88.11 MB / 394.7 MB (rm -f LibRAS_LibRAS.Culture.SSCulture_V_noEvent.pipe ; mkfifo LibRAS_LibRAS.Culture.SSCulture_V_noEvent.pipe ; head -c 1048576 < LibRAS_LibRAS.Culture.SSCulture_V_noEvent.pipe >> ../files/LibRAS_LibRAS.Culture.SSCulture_V_noEvent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_LibRAS_LibRAS_Culture_SSCulture_V_noEvent_fmu --startTime=0 --stopTime=2.592e+06 --timeout=50 --tolerance=0.0001 LibRAS_LibRAS_Culture_SSCulture_V_noEvent.fmu > LibRAS_LibRAS.Culture.SSCulture_V_noEvent.pipe 2>&1)