Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.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/SystemDynamics 2.1.2-master/package.mo", uses=false) Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-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(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Hair_Lynx_Interaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Hair_Lynx_Interaction",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.002665/0.002665, allocations: 187.2 kB / 7.459 MB, free: 2.512 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.445/1.445, allocations: 221.4 MB / 229.3 MB, free: 3 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.001081/0.001081, allocations: 97.38 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2095/0.2095, allocations: 28.83 MB / 359.7 MB, free: 1.547 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.2136/0.4232, allocations: 63.59 MB / 423.3 MB, free: 44.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.5389, allocations: 57.48 MB / 480.8 MB, free: 2.582 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3758/0.9148, allocations: 79.45 MB / 0.5471 GB, free: 10.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.9151, allocations: 59.97 kB / 0.5472 GB, free: 10.12 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.01448/0.9296, allocations: 4.964 MB / 0.552 GB, free: 5.117 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.9297, allocations: 11.94 kB / 0.552 GB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.9298, allocations: 43.44 kB / 0.5521 GB, free: 5.062 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/0.9303, allocations: 281.9 kB / 0.5523 GB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.9303, allocations: 19.94 kB / 0.5524 GB, free: 4.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.286e-05/0.9304, allocations: 23.98 kB / 0.5524 GB, free: 4.707 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004237/0.9308, allocations: 205.2 kB / 0.5526 GB, free: 4.508 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005034/0.9313, allocations: 282.4 kB / 0.5528 GB, free: 4.207 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.9314, allocations: 3.938 kB / 0.5528 GB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.9314, allocations: 0 / 0.5528 GB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.9314, allocations: 8 kB / 0.5529 GB, free: 4.195 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.9332, allocations: 1.108 MB / 0.5539 GB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/0.9335, allocations: 197.8 kB / 0.5541 GB, free: 2.836 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.9337, allocations: 88.83 kB / 0.5542 GB, free: 2.746 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.781e-05/0.9337, allocations: 19.98 kB / 0.5542 GB, free: 2.727 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/0.9339, allocations: 146.7 kB / 0.5544 GB, free: 2.574 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 2.615e-06/0.934, allocations: 0.875 kB / 0.5544 GB, free: 2.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005233/0.9345, allocations: 213.2 kB / 0.5546 GB, free: 2.359 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.9345, allocations: 59.41 kB / 0.5546 GB, free: 2.289 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.9348, allocations: 229.1 kB / 0.5548 GB, free: 2.059 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.9348, allocations: 25.7 kB / 0.5549 GB, free: 2.027 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.935, allocations: 183.8 kB / 0.555 GB, free: 1.844 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.239e-05/0.935, allocations: 59.14 kB / 0.5551 GB, free: 1.785 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/0.9351, allocations: 0 / 0.5551 GB, free: 1.785 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.9352, allocations: 334.7 kB / 0.5554 GB, free: 1.449 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.9354, allocations: 92.12 kB / 0.5555 GB, free: 1.355 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.9355, allocations: 129.8 kB / 0.5556 GB, free: 1.211 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.9357, allocations: 87.19 kB / 0.5557 GB, free: 1.129 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.9358, allocations: 5.125 kB / 0.5557 GB, free: 1.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004881/0.9362, allocations: 265.7 kB / 0.556 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.9363, allocations: 4 kB / 0.556 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.9363, allocations: 3.984 kB / 0.556 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.9363, allocations: 8.125 kB / 0.556 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.9366, allocations: 47.92 kB / 0.556 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.9366, allocations: 3.984 kB / 0.556 GB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.9368, allocations: 23.75 kB / 0.5561 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.533e-05/0.9369, allocations: 19.98 kB / 0.5561 GB, free: 0.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.Hunting.T_start,Hunting.T_start,$PRE.Hunting.count,Hunting.count,Lynx.Integrator1.local_reset,Hare.Integrator1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * 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.0001188/0.937, allocations: 112.9 kB / 0.5562 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.937, allocations: 23.72 kB / 0.5562 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005425/0.9376, allocations: 271.3 kB / 0.5565 GB, free: 352 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.9376, allocations: 7.938 kB / 0.5565 GB, free: 344 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.9376, allocations: 0 / 0.5565 GB, free: 344 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.9376, allocations: 0 / 0.5565 GB, free: 344 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008569/0.9385, allocations: 0.6031 MB / 0.5571 GB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.9385, allocations: 0 / 0.5571 GB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.9387, allocations: 35.92 kB / 0.5571 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.9388, allocations: 4 kB / 0.5571 GB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.9388, allocations: 7.906 kB / 0.5571 GB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.9388, allocations: 0 / 0.5571 GB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.9388, allocations: 4 kB / 0.5571 GB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006014/0.9394, allocations: 443 kB / 0.5575 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001138/0.9406, allocations: 1.174 MB / 0.5587 GB, free: 14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/0.9407, allocations: 96.97 kB / 0.5588 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.9407, allocations: 4 kB / 0.5588 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.9409, allocations: 20.11 kB / 0.5588 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.513e-05/0.941, allocations: 19.97 kB / 0.5588 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.941, allocations: 8 kB / 0.5588 GB, free: 13.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001627/0.9412, allocations: 177.2 kB / 0.559 GB, free: 13.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001008/0.9422, allocations: 71.53 kB / 0.5591 GB, free: 13.59 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Hare.Integrator1.y,Lynx.Integrator1.y) * Number of discrete variables: 3 ($whenCondition1,Hunting.T_start,Hunting.count) * Number of discrete states: 1 (Hunting.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002007/0.9424, allocations: 104.6 kB / 0.5592 GB, free: 13.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003322/0.9428, allocations: 205.7 kB / 0.5594 GB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.9428, allocations: 0 / 0.5594 GB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.9429, allocations: 91.92 kB / 0.5594 GB, free: 13.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.9433, allocations: 35.95 kB / 0.5595 GB, free: 13.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009971/0.9443, allocations: 426.1 kB / 0.5599 GB, free: 12.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004847/0.9448, allocations: 0.8213 MB / 0.5607 GB, free: 11.86 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.9448, allocations: 0 / 0.5607 GB, free: 11.86 MB / 394.7 MB (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe >> ../files/SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_SystemDynamics_SystemDynamics_IntroductoryExamples_Hair_Lynx_Interaction_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-10 SystemDynamics_SystemDynamics_IntroductoryExamples_Hair_Lynx_Interaction.fmu > SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe 2>&1)