Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.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.TestExactClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator") [: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.002275/0.002275, allocations: 175 kB / 8.192 MB, free: 2.191 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.669/1.669, allocations: 205.2 MB / 213.8 MB, free: 13.94 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.001304/0.001304, allocations: 92.19 kB / 261.8 MB, free: 13.64 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.09611/0.09611, allocations: 12.6 MB / 322.4 MB, free: 1 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.446e-06/8.465e-06, allocations: 4 kB / 378.4 MB, free: 76.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0923/0.09233, allocations: 50.37 MB / 428.7 MB, free: 25.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3027/0.3951, allocations: 77.68 MB / 0.4946 GB, free: 11.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.3954, allocations: 57.5 kB / 0.4946 GB, free: 11.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.006594/0.402, allocations: 1.454 MB / 0.496 GB, free: 11.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.4021, allocations: 3.938 kB / 0.496 GB, free: 11.54 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003848/0.4025, allocations: 359.8 kB / 0.4964 GB, free: 11.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.4025, allocations: 11.72 kB / 0.4964 GB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.4026, allocations: 11.66 kB / 0.4964 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.4028, allocations: 198 kB / 0.4966 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.4028, allocations: 0 / 0.4966 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.4029, allocations: 7.688 kB / 0.4966 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.26e-05/0.403, allocations: 20.33 kB / 0.4966 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.4032, allocations: 109.7 kB / 0.4967 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.4032, allocations: 0 / 0.4967 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.4033, allocations: 0 / 0.4967 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4033, allocations: 0 / 0.4967 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.4037, allocations: 256.5 kB / 0.497 GB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/0.4041, allocations: 70.98 kB / 0.497 GB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.991e-05/0.4041, allocations: 25.64 kB / 0.4971 GB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.4042, allocations: 7.422 kB / 0.4971 GB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.4042, allocations: 36.14 kB / 0.4971 GB, free: 10.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.4042, allocations: 0 / 0.4971 GB, free: 10.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002019/0.4044, allocations: 57.81 kB / 0.4971 GB, free: 10.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.4045, allocations: 83.36 kB / 0.4972 GB, free: 10.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.4046, allocations: 130.5 kB / 0.4974 GB, free: 10.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.4046, allocations: 25.7 kB / 0.4974 GB, free: 10.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/0.4047, allocations: 154.5 kB / 0.4975 GB, free: 10.1 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.4047, allocations: 5.578 kB / 0.4975 GB, free: 10.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.4047, allocations: 0 / 0.4975 GB, free: 10.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.283e-05/0.4048, allocations: 318.6 kB / 0.4978 GB, free: 9.785 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.223e-05/0.4048, allocations: 7.75 kB / 0.4978 GB, free: 9.785 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.683e-05/0.4049, allocations: 44.7 kB / 0.4979 GB, free: 9.742 MB / 330.7 MB Notification: The following equation is consistent and got removed from the initialization problem: firstOrder.y = firstOrder.y_start Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.405, allocations: 102.6 kB / 0.498 GB, free: 9.645 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.405, allocations: 0 / 0.498 GB, free: 9.645 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001407/0.4052, allocations: 67.36 kB / 0.498 GB, free: 9.605 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4052, allocations: 14.88 kB / 0.4981 GB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4052, allocations: 0 / 0.4981 GB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.4053, allocations: 3.875 kB / 0.4981 GB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.4054, allocations: 13.31 kB / 0.4981 GB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.4054, allocations: 5.156 kB / 0.4981 GB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.001e-05/0.4055, allocations: 13.45 kB / 0.4981 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.4055, allocations: 3.844 kB / 0.4981 GB, free: 9.59 MB / 330.7 MB Warning: Assuming redundant initial conditions for the following 1 initial equations: firstOrder.y = firstOrder.y_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.428e-05/0.4056, allocations: 33.55 kB / 0.4981 GB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.4057, allocations: 58.22 kB / 0.4982 GB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.008e-05/0.4058, allocations: 9.875 kB / 0.4982 GB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.4058, allocations: 7.812 kB / 0.4982 GB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4058, allocations: 0 / 0.4982 GB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.4058, allocations: 0.7031 kB / 0.4982 GB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.4061, allocations: 155.2 kB / 0.4984 GB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.4061, allocations: 0 / 0.4984 GB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.4064, allocations: 24.47 kB / 0.4984 GB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.4064, allocations: 0 / 0.4984 GB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.4064, allocations: 4.656 kB / 0.4984 GB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.4064, allocations: 0.6562 kB / 0.4984 GB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.4064, allocations: 7.594 kB / 0.4984 GB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002062/0.4067, allocations: 169.5 kB / 0.4985 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-05/0.4068, allocations: 96.86 kB / 0.4986 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.4068, allocations: 5.562 kB / 0.4986 GB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.407, allocations: 11.81 kB / 0.4987 GB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.4071, allocations: 1.594 kB / 0.4987 GB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.4071, allocations: 6.938 kB / 0.4987 GB, free: 9.078 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.987e-05/0.4072, allocations: 104.9 kB / 0.4988 GB, free: 9.004 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004937/0.4077, allocations: 11.34 kB / 0.4988 GB, free: 9.004 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0001137/0.4079, allocations: 99.75 kB / 0.4989 GB, free: 8.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.4081, allocations: 33.92 kB / 0.4989 GB, free: 8.906 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4081, allocations: 3.812 kB / 0.4989 GB, free: 8.906 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.253e-05/0.4081, allocations: 7.875 kB / 0.4989 GB, free: 8.902 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/0.4086, allocations: 25.78 kB / 0.4989 GB, free: 8.898 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.4091, allocations: 136.7 kB / 0.4991 GB, free: 8.789 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.4094, allocations: 0.7122 MB / 0.4998 GB, free: 8.086 MB / 330.7 MB Notification: Performance of SimCode: time 8.92e-07/0.4094, allocations: 4 kB / 0.4998 GB, free: 8.082 MB / 330.7 MB Notification: Performance of Templates: time 0.003658/0.4131, allocations: 0.9493 MB / 0.5007 GB, free: 8.023 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe 2>&1)