Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001622/0.001622, allocations: 180.7 kB / 8.191 MB, free: 2.102 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00124/0.00124, allocations: 90.23 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09553/0.09553, allocations: 12.58 MB / 322.3 MB, free: 1.004 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.173e-06/7.284e-06, allocations: 0 / 378.4 MB, free: 76.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08532/0.08534, allocations: 50.38 MB / 428.7 MB, free: 25.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2747/0.3601, allocations: 77.62 MB / 0.4945 GB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001615/0.3603, allocations: 57.44 kB / 0.4945 GB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.004423/0.3648, allocations: 0.9563 MB / 0.4955 GB, free: 11.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.3648, allocations: 4.375 kB / 0.4955 GB, free: 11.7 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003714/0.3652, allocations: 360.5 kB / 0.4958 GB, free: 11.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3653, allocations: 7.719 kB / 0.4958 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.3653, allocations: 13.44 kB / 0.4959 GB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.3655, allocations: 185.9 kB / 0.496 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.3655, allocations: 0 / 0.496 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.3656, allocations: 5.609 kB / 0.496 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001219/0.3657, allocations: 21.78 kB / 0.4961 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.3659, allocations: 125.4 kB / 0.4962 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.366, allocations: 0 / 0.4962 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.366, allocations: 0 / 0.4962 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.366, allocations: 1.969 kB / 0.4962 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.3664, allocations: 269.6 kB / 0.4964 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.3666, allocations: 154.3 kB / 0.4966 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.328e-05/0.3667, allocations: 26.64 kB / 0.4966 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.3667, allocations: 3.375 kB / 0.4966 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.818e-05/0.3668, allocations: 58.55 kB / 0.4967 GB, free: 10.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.884e-06/0.3669, allocations: 0 / 0.4967 GB, free: 10.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002538/0.3671, allocations: 75.33 kB / 0.4967 GB, free: 10.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.3672, allocations: 81.5 kB / 0.4968 GB, free: 10.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.183e-05/0.3673, allocations: 98.98 kB / 0.4969 GB, free: 10.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.3673, allocations: 29.39 kB / 0.4969 GB, free: 10.33 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.279e-05/0.3673, allocations: 159.1 kB / 0.4971 GB, free: 10.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.3674, allocations: 16.81 kB / 0.4971 GB, free: 10.17 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.3674, allocations: 0 / 0.4971 GB, free: 10.17 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.747e-05/0.3674, allocations: 324.8 kB / 0.4974 GB, free: 9.848 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.771e-05/0.3675, allocations: 17.78 kB / 0.4974 GB, free: 9.844 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.379e-05/0.3676, allocations: 49.53 kB / 0.4975 GB, free: 9.797 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.167e-05/0.3676, allocations: 24.77 kB / 0.4975 GB, free: 9.793 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3677, allocations: 0 / 0.4975 GB, free: 9.793 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001879/0.3678, allocations: 85.17 kB / 0.4976 GB, free: 9.754 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.3679, allocations: 3.906 kB / 0.4976 GB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3679, allocations: 3.812 kB / 0.4976 GB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3679, allocations: 3.906 kB / 0.4976 GB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.368, allocations: 17.73 kB / 0.4976 GB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3681, allocations: 8.766 kB / 0.4976 GB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.143e-05/0.3682, allocations: 5.031 kB / 0.4976 GB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.3682, allocations: 8.5 kB / 0.4976 GB, free: 9.742 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler.y,triggeredSampler.y,ClockedRealToTrigger.y2,$CLKPRE.ClockedRealToTrigger.y2,$whenCondition1,ClockedRealToTrigger.y,$PRE.ClockedRealToTrigger.y3,ClockedRealToTrigger.y3) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 4.998e-05/0.3682, allocations: 33.64 kB / 0.4977 GB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.109e-05/0.3683, allocations: 48.42 kB / 0.4977 GB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.926e-05/0.3684, allocations: 12.97 kB / 0.4977 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3684, allocations: 3.844 kB / 0.4977 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3684, allocations: 0 / 0.4977 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3684, allocations: 7.906 kB / 0.4977 GB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.3687, allocations: 291.8 kB / 0.498 GB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.3687, allocations: 3.906 kB / 0.498 GB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.675e-05/0.3688, allocations: 13.03 kB / 0.498 GB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3688, allocations: 1.594 kB / 0.498 GB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.3688, allocations: 4 kB / 0.498 GB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3689, allocations: 0 / 0.498 GB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3689, allocations: 3.906 kB / 0.498 GB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001672/0.369, allocations: 190.6 kB / 0.4982 GB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.918e-05/0.3691, allocations: 84.86 kB / 0.4983 GB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.3691, allocations: 1.594 kB / 0.4983 GB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.3693, allocations: 3.844 kB / 0.4983 GB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.3693, allocations: 6 kB / 0.4983 GB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.3693, allocations: 7.844 kB / 0.4983 GB, free: 9.113 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.936e-05/0.3694, allocations: 91.53 kB / 0.4984 GB, free: 9.035 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002766/0.3697, allocations: 17.22 kB / 0.4984 GB, free: 9.031 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (ClockedRealToTrigger.y2,ClockedRealToTrigger.y,$whenCondition1,ClockedRealToTrigger.y3,triggeredSampler.y) * Number of discrete states: 1 (ClockedRealToTrigger.y3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 9.151e-05/0.3698, allocations: 102.4 kB / 0.4985 GB, free: 8.934 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001594/0.3699, allocations: 47.95 kB / 0.4986 GB, free: 8.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3699, allocations: 0 / 0.4986 GB, free: 8.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.76e-05/0.37, allocations: 16.22 kB / 0.4986 GB, free: 8.93 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.3703, allocations: 19.22 kB / 0.4986 GB, free: 8.926 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003163/0.3706, allocations: 136.1 kB / 0.4987 GB, free: 8.809 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.3708, allocations: 0.7159 MB / 0.4994 GB, free: 8.098 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.3708, allocations: 0 / 0.4994 GB, free: 8.098 MB / 330.7 MB Notification: Performance of Templates: time 0.002864/0.3737, allocations: 0.9349 MB / 0.5003 GB, free: 8.031 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe 2>&1)