Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL",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.3+maint.om/package.mo): time 0.00574/0.00574, allocations: 179.8 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.08806/0.08806, allocations: 10.59 MB / 18.46 MB, free: 2.172 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.2 MB / 226.5 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001233/0.001234, allocations: 86.58 kB / 276.9 MB, free: 15.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.156/0.1573, allocations: 56.13 MB / 333 MB, free: 7.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.4963, allocations: 50 MB / 383 MB, free: 39.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1136/0.61, allocations: 78.09 MB / 461.1 MB, free: 9.586 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003468/0.6104, allocations: 75.95 kB / 461.2 MB, free: 9.512 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0161/0.6265, allocations: 4.744 MB / 465.9 MB, free: 4.695 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.6266, allocations: 9.969 kB / 465.9 MB, free: 4.688 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.6267, allocations: 31.62 kB / 466 MB, free: 4.656 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007259/0.6275, allocations: 345.5 kB / 466.3 MB, free: 4.281 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.6276, allocations: 93.38 kB / 466.4 MB, free: 4.168 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.423e-05/0.6277, allocations: 12 kB / 466.4 MB, free: 4.156 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002293/0.6279, allocations: 84.56 kB / 466.5 MB, free: 4.074 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.6283, allocations: 187.2 kB / 466.7 MB, free: 3.875 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.6283, allocations: 0 / 466.7 MB, free: 3.875 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.6283, allocations: 3.984 kB / 466.7 MB, free: 3.871 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.6284, allocations: 4 kB / 466.7 MB, free: 3.867 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.63, allocations: 0.673 MB / 467.4 MB, free: 3.156 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.6302, allocations: 94.5 kB / 467.5 MB, free: 3.055 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.6303, allocations: 52.86 kB / 467.5 MB, free: 3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.6304, allocations: 0 / 467.5 MB, free: 3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.6306, allocations: 107.3 kB / 467.6 MB, free: 2.883 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 2.204e-06/0.6306, allocations: 0 / 467.6 MB, free: 2.883 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004059/0.631, allocations: 149.4 kB / 467.8 MB, free: 2.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.631, allocations: 55.41 kB / 467.8 MB, free: 2.664 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.6313, allocations: 192.1 kB / 468 MB, free: 2.469 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.6313, allocations: 33.69 kB / 468 MB, free: 2.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.189e-05/0.6314, allocations: 128.2 kB / 468.2 MB, free: 2.301 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.854e-05/0.6315, allocations: 52.36 kB / 468.2 MB, free: 2.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.367e-05/0.6315, allocations: 0 / 468.2 MB, free: 2.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.6317, allocations: 334.8 kB / 468.5 MB, free: 1.914 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.6318, allocations: 52 kB / 468.6 MB, free: 1.863 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.6319, allocations: 79.42 kB / 468.7 MB, free: 1.773 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.632, allocations: 48.11 kB / 468.7 MB, free: 1.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6321, allocations: 0 / 468.7 MB, free: 1.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003716/0.6324, allocations: 183.8 kB / 468.9 MB, free: 1.547 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.6325, allocations: 12 kB / 468.9 MB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.6325, allocations: 0 / 468.9 MB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.6325, allocations: 0 / 468.9 MB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.6339, allocations: 139.7 kB / 469 MB, free: 1.398 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.6361, allocations: 2.481 MB / 471.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003368/0.6364, allocations: 40.03 kB / 471.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.6365, allocations: 11.98 kB / 471.6 MB, free: 14.65 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: LLtr.Y:VARIABLE(protected = true ) "output before saturation" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: LLaw.Y:VARIABLE(protected = true ) "output before saturation" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,LLaw.TS,$PRE.TSsignal.pulseStart,TSsignal.pulseStart,$PRE.TrackRef.T_start,TrackRef.T_start,$PRE.TrackRef.count,TrackRef.count,LL.TS_in) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001819/0.6367, allocations: 120.9 kB / 471.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.6367, allocations: 19.72 kB / 471.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003869/0.6371, allocations: 194.6 kB / 471.9 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.6371, allocations: 0 / 471.9 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.6371, allocations: 3.984 kB / 471.9 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.6371, allocations: 4 kB / 471.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008089/0.638, allocations: 0.5107 MB / 472.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.638, allocations: 0 / 472.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.6391, allocations: 123.8 kB / 472.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.6392, allocations: 7.938 kB / 472.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.6392, allocations: 0 / 472.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.6392, allocations: 6.062 kB / 472.6 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.6392, allocations: 0 / 472.6 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004785/0.6397, allocations: 335.1 kB / 472.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000752/0.6405, allocations: 0.7806 MB / 473.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-05/0.6405, allocations: 96.83 kB / 473.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.6406, allocations: 4 kB / 473.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002875/0.6409, allocations: 43.86 kB / 473.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.641, allocations: 27.97 kB / 473.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.641, allocations: 7.984 kB / 473.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001437/0.6412, allocations: 144.5 kB / 474 MB, free: 12.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000952/0.6421, allocations: 39.94 kB / 474 MB, free: 12.1 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (LLaw.uF,LLtr.uF,LL.uF) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,LLaw.TS,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 1 (TrackRef.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001806/0.6423, allocations: 107.2 kB / 474.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008693/0.6432, allocations: 218.4 kB / 474.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.6432, allocations: 4 kB / 474.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.6434, allocations: 76.27 kB / 474.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.6437, allocations: 25.7 kB / 474.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.6447, allocations: 330.1 kB / 474.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005799/0.6453, allocations: 0.7863 MB / 475.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.6453, allocations: 0 / 475.5 MB, free: 10.5 MB / 362.7 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL_fmu --startTime=0 --stopTime=22 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe 2>&1)