Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.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.TestEventClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator") [: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.002528/0.002528, allocations: 174.2 kB / 8.186 MB, free: 2.703 MB / 6.207 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.2 MB / 213.8 MB, free: 1.988 MB / 174.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001233/0.001233, allocations: 90.47 kB / 261.8 MB, free: 1.453 MB / 206.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09399/0.09399, allocations: 12.59 MB / 322.3 MB, free: 4.82 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 8.326e-06/8.486e-06, allocations: 1.031 kB / 378.4 MB, free: 93.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08425/0.08428, allocations: 50.37 MB / 428.7 MB, free: 49.49 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.114/0.1983, allocations: 78.03 MB / 0.4949 GB, free: 3.348 MB / 350.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.1986, allocations: 59.97 kB / 0.4949 GB, free: 3.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.007933/0.2066, allocations: 1.48 MB / 0.4964 GB, free: 1.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.2066, allocations: 0 / 0.4964 GB, free: 1.805 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006307/0.2073, allocations: 374.3 kB / 0.4967 GB, free: 1.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.2073, allocations: 8.031 kB / 0.4968 GB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/0.2074, allocations: 11.81 kB / 0.4968 GB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.2077, allocations: 192.4 kB / 0.4969 GB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.2077, allocations: 8 kB / 0.497 GB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.2077, allocations: 0 / 0.497 GB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001207/0.2079, allocations: 24 kB / 0.497 GB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.2082, allocations: 109.9 kB / 0.4971 GB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2082, allocations: 0 / 0.4971 GB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.2082, allocations: 3.984 kB / 0.4971 GB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.2082, allocations: 7.984 kB / 0.4971 GB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006205/0.2089, allocations: 356.3 kB / 0.4974 GB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.2093, allocations: 99.86 kB / 0.4975 GB, free: 472 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.426e-05/0.2094, allocations: 30.64 kB / 0.4976 GB, free: 432 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.2095, allocations: 4 kB / 0.4976 GB, free: 428 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001225/0.2096, allocations: 69.03 kB / 0.4976 GB, free: 340 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 2.595e-06/0.2096, allocations: 4 kB / 0.4976 GB, free: 336 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002691/0.2099, allocations: 77.52 kB / 0.4977 GB, free: 252 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.468e-05/0.21, allocations: 110.8 kB / 0.4978 GB, free: 116 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1314/0.3414, allocations: 119 kB / 0.4979 GB, free: 123.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.3415, allocations: 25.7 kB / 0.498 GB, free: 123.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.3416, allocations: 153.6 kB / 0.4981 GB, free: 123.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.3416, allocations: 16.55 kB / 0.4981 GB, free: 123.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.864e-06/0.3416, allocations: 0 / 0.4981 GB, free: 123.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.775e-05/0.3417, allocations: 320.3 kB / 0.4984 GB, free: 123 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.333e-05/0.3418, allocations: 15.69 kB / 0.4984 GB, free: 123 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.296e-05/0.3419, allocations: 57.02 kB / 0.4985 GB, free: 123 MB / 350.1 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.0002308/0.3421, allocations: 111.9 kB / 0.4986 GB, free: 122.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3421, allocations: 0 / 0.4986 GB, free: 122.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002236/0.3424, allocations: 95.91 kB / 0.4987 GB, free: 122.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3424, allocations: 7.094 kB / 0.4987 GB, free: 122.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3424, allocations: 0 / 0.4987 GB, free: 122.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.3424, allocations: 3.438 kB / 0.4987 GB, free: 122.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.3426, allocations: 20.08 kB / 0.4987 GB, free: 122.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.3426, allocations: 3.094 kB / 0.4987 GB, free: 122.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.3428, allocations: 21.23 kB / 0.4987 GB, free: 122.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.3428, allocations: 3.656 kB / 0.4987 GB, free: 122.8 MB / 350.1 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: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$whenCondition2) * 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 8.153e-05/0.3429, allocations: 38.22 kB / 0.4988 GB, free: 122.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.343, allocations: 56.34 kB / 0.4988 GB, free: 122.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.575e-05/0.3431, allocations: 10.19 kB / 0.4988 GB, free: 122.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.3431, allocations: 3.188 kB / 0.4988 GB, free: 122.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3431, allocations: 0 / 0.4988 GB, free: 122.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.3431, allocations: 2.625 kB / 0.4988 GB, free: 122.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.3435, allocations: 311.5 kB / 0.4991 GB, free: 122.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3436, allocations: 0.75 kB / 0.4991 GB, free: 122.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.3438, allocations: 28.41 kB / 0.4992 GB, free: 122.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.3438, allocations: 3.469 kB / 0.4992 GB, free: 122.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.3438, allocations: 1.812 kB / 0.4992 GB, free: 122.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3438, allocations: 7.531 kB / 0.4992 GB, free: 122.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.3438, allocations: 0 / 0.4992 GB, free: 122.5 MB / 350.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002135/0.3441, allocations: 219.8 kB / 0.4994 GB, free: 122.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.3441, allocations: 91.11 kB / 0.4995 GB, free: 122.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.3442, allocations: 3.188 kB / 0.4995 GB, free: 122.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.3444, allocations: 10.22 kB / 0.4995 GB, free: 122.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.3445, allocations: 3.094 kB / 0.4995 GB, free: 122.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.3445, allocations: 9.922 kB / 0.4995 GB, free: 122.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.073e-05/0.3446, allocations: 99.64 kB / 0.4996 GB, free: 122.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003229/0.3449, allocations: 15.88 kB / 0.4996 GB, free: 122.1 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booleanPulse.y,$whenCondition1,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * 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 0.0001054/0.345, allocations: 94.06 kB / 0.4997 GB, free: 122.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.3452, allocations: 53.97 kB / 0.4998 GB, free: 122.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3453, allocations: 1.219 kB / 0.4998 GB, free: 122.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.629e-05/0.3453, allocations: 19.12 kB / 0.4998 GB, free: 122.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.3458, allocations: 32.69 kB / 0.4998 GB, free: 122.1 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004257/0.3462, allocations: 147.4 kB / 0.4999 GB, free: 121.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.3464, allocations: 0.7203 MB / 0.5007 GB, free: 121.2 MB / 350.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3464, allocations: 3.938 kB / 0.5007 GB, free: 121.2 MB / 350.1 MB Notification: Performance of Templates: time 0.003405/0.3498, allocations: 1.176 MB / 0.5018 GB, free: 121.2 MB / 350.1 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe 2>&1)