Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr LibRAS_LibRAS.Culture.SSCulture_V.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,fileNamePrefix="LibRAS_LibRAS_Culture_SSCulture_V",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(LibRAS.Culture.SSCulture_V,fileNamePrefix="LibRAS_LibRAS_Culture_SSCulture_V",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.001024/0.001024, allocations: 186.2 kB / 7.846 MB, free: 2.469 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo): time 0.02298/0.02298, allocations: 5.429 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 1.019/1.019, 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.00174/0.00174, allocations: 115.3 kB / 255.8 MB, free: 3.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08684/0.08861, allocations: 51.87 MB / 307.7 MB, free: 15.85 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06597/0.1546, allocations: 45.75 MB / 353.4 MB, free: 1.984 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1547/0.3093, allocations: 72.06 MB / 425.5 MB, free: 6.871 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001541/0.3095, allocations: 59.97 kB / 425.5 MB, free: 6.812 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.09455/0.404, allocations: 36.85 MB / 462.4 MB, free: 1.961 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.4041, allocations: 11.94 kB / 462.4 MB, free: 1.949 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002654/0.4067, allocations: 465.6 kB / 462.9 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004902/0.4117, allocations: 2.286 MB / 465.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.182e-05/0.4117, allocations: 47.91 kB / 465.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004267/0.4122, allocations: 105 kB / 465.3 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02027/0.4324, allocations: 15.73 MB / 481 MB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005872/0.4383, allocations: 4.232 MB / 485.3 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.4384, allocations: 0 / 485.3 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002957/0.4387, allocations: 7.984 kB / 485.3 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.4387, allocations: 32 kB / 485.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01503/0.4537, allocations: 9.902 MB / 495.2 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005359/0.4591, allocations: 4.159 MB / 499.4 MB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004946/0.4641, allocations: 4.087 MB / 0.4916 GB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002705/0.4643, allocations: 58.17 kB / 0.4917 GB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004952/0.4693, allocations: 3.985 MB / 0.4956 GB, free: 4.355 MB / 394.7 MB Notification: Performance of pre-optimization done (n=321): time 5.16e-06/0.4693, allocations: 0 / 0.4956 GB, free: 4.355 MB / 394.7 MB Notification: Performance of matching and sorting (n=321): time 0.08884/0.5582, allocations: 6.764 MB / 0.5022 GB, free: 168.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.302e-05/0.5583, allocations: 434.6 kB / 0.5026 GB, free: 168.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.5593, allocations: 0.8529 MB / 0.5034 GB, free: 167.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006179/0.5599, allocations: 36.27 kB / 0.5035 GB, free: 167.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.661e-05/0.56, allocations: 187.3 kB / 0.5037 GB, free: 167.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009082/0.5609, allocations: 1.053 MB / 0.5047 GB, free: 167.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003925/0.5613, allocations: 7.656 kB / 0.5047 GB, free: 167.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.5615, allocations: 436 kB / 0.5051 GB, free: 167 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003779/0.5653, allocations: 3.209 MB / 0.5082 GB, free: 166.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003985/0.5693, allocations: 3.499 MB / 0.5117 GB, free: 166.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004007/0.5733, allocations: 3.49 MB / 0.5151 GB, free: 165.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.5733, allocations: 3.906 kB / 0.5151 GB, free: 165.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01222/0.5855, allocations: 7.222 MB / 0.5221 GB, free: 163.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.5856, allocations: 4.5 kB / 0.5221 GB, free: 163.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/0.5856, allocations: 8.328 kB / 0.5221 GB, free: 163.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.754e-05/0.5857, allocations: 17.88 kB / 0.5221 GB, free: 163.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008059/0.5937, allocations: 1.751 MB / 0.5239 GB, free: 163.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.198e-05/0.5938, allocations: 21.52 kB / 0.5239 GB, free: 163.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005268/0.5991, allocations: 1.191 MB / 0.525 GB, free: 163.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004854/0.5996, allocations: 106.3 kB / 0.5251 GB, free: 163.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (375): * Single equations (assignments): 375 * 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.0008098/0.6004, allocations: 148.9 kB / 0.5253 GB, free: 163.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008013/0.6012, allocations: 312.2 kB / 0.5256 GB, free: 162.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.6027, allocations: 0.5889 MB / 0.5262 GB, free: 162.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.943e-05/0.6028, allocations: 35.84 kB / 0.5262 GB, free: 162.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.429e-05/0.6028, allocations: 4 kB / 0.5262 GB, free: 162.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.632e-05/0.6028, allocations: 22.28 kB / 0.5262 GB, free: 162.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006195/0.609, allocations: 4.223 MB / 0.5303 GB, free: 158.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.6091, allocations: 7.875 kB / 0.5303 GB, free: 158.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007421/0.6165, allocations: 1.669 MB / 0.532 GB, free: 157.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-05/0.6165, allocations: 16.56 kB / 0.532 GB, free: 157.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004627/0.617, allocations: 54.64 kB / 0.532 GB, free: 157.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-05/0.617, allocations: 14.16 kB / 0.5321 GB, free: 157.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/0.617, allocations: 11.47 kB / 0.5321 GB, free: 157.6 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0176/0.6346, allocations: 13.06 MB / 0.5448 GB, free: 145.7 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03803/0.6727, allocations: 29.33 MB / 0.5735 GB, free: 116.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005835/0.6734, allocations: 302.3 kB / 0.5738 GB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/0.6744, allocations: 35.95 kB / 0.5738 GB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004713/0.6792, allocations: 1.067 MB / 0.5748 GB, free: 114.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006125/0.6798, allocations: 197.8 kB / 0.575 GB, free: 114.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003566/0.6802, allocations: 99.94 kB / 0.5751 GB, free: 114.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0007115/0.6809, allocations: 0.6708 MB / 0.5758 GB, free: 113.9 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002423/0.6833, allocations: 0.7806 MB / 0.5765 GB, free: 113.1 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (321): * Single equations (assignments): 321 * 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.0004785/0.6838, allocations: 250.7 kB / 0.5768 GB, free: 112.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007934/0.6918, allocations: 7.189 MB / 0.5838 GB, free: 105.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6918, allocations: 0 / 0.5838 GB, free: 105.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004089/0.6959, allocations: 3.697 MB / 0.5874 GB, free: 102 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.6972, allocations: 262.4 kB / 0.5877 GB, free: 101.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008175/0.7054, allocations: 5.657 MB / 0.5932 GB, free: 96.03 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003114/0.7085, allocations: 2.029 MB / 0.5952 GB, free: 93.97 MB / 394.7 MB Notification: Performance of SimCode: time 2.9e-07/0.7085, allocations: 0 / 0.5952 GB, free: 93.97 MB / 394.7 MB (rm -f LibRAS_LibRAS.Culture.SSCulture_V.pipe ; mkfifo LibRAS_LibRAS.Culture.SSCulture_V.pipe ; head -c 1048576 < LibRAS_LibRAS.Culture.SSCulture_V.pipe >> ../files/LibRAS_LibRAS.Culture.SSCulture_V.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_LibRAS_LibRAS_Culture_SSCulture_V_fmu --startTime=0 --stopTime=2.592e+06 --timeout=50 --tolerance=0.0001 LibRAS_LibRAS_Culture_SSCulture_V.fmu > LibRAS_LibRAS.Culture.SSCulture_V.pipe 2>&1)