Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.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.TestClockedBooleanToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger") [: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.002286/0.002286, allocations: 172.4 kB / 8.19 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.656/1.656, 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.001404/0.001404, allocations: 89 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.09441/0.09441, allocations: 12.58 MB / 322.3 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.057e-05/1.07e-05, allocations: 4 kB / 378.4 MB, free: 76.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1151, allocations: 50.36 MB / 428.7 MB, free: 25.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3006/0.4158, allocations: 77.54 MB / 0.4944 GB, free: 11.67 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.416, allocations: 64.72 kB / 0.4945 GB, free: 11.67 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.004876/0.4209, allocations: 1.021 MB / 0.4955 GB, free: 11.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.421, allocations: 4 kB / 0.4955 GB, free: 11.62 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004201/0.4214, allocations: 359.5 kB / 0.4958 GB, free: 11.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.4215, allocations: 12.7 kB / 0.4958 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.4215, allocations: 9.562 kB / 0.4958 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.4217, allocations: 187.3 kB / 0.496 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.4218, allocations: 3.875 kB / 0.496 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.4218, allocations: 3.812 kB / 0.496 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001148/0.4219, allocations: 34.2 kB / 0.4961 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.4222, allocations: 122.2 kB / 0.4962 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.4222, allocations: 4 kB / 0.4962 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.4222, allocations: 7.562 kB / 0.4962 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4222, allocations: 0 / 0.4962 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.4226, allocations: 265.9 kB / 0.4964 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.4228, allocations: 151.4 kB / 0.4966 GB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.909e-05/0.4229, allocations: 30.14 kB / 0.4966 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.4229, allocations: 0 / 0.4966 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.196e-05/0.423, allocations: 63.7 kB / 0.4967 GB, free: 10.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.744e-06/0.423, allocations: 0 / 0.4967 GB, free: 10.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002417/0.4233, allocations: 81.72 kB / 0.4967 GB, free: 10.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.4234, allocations: 90.06 kB / 0.4968 GB, free: 10.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.45e-05/0.4234, allocations: 118.5 kB / 0.4969 GB, free: 10.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.4235, allocations: 27.06 kB / 0.497 GB, free: 10.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.4235, allocations: 150.8 kB / 0.4971 GB, free: 10.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.4236, allocations: 16.72 kB / 0.4971 GB, free: 10.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.4236, allocations: 0 / 0.4971 GB, free: 10.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.256e-05/0.4236, allocations: 321.2 kB / 0.4974 GB, free: 9.773 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.3e-05/0.4237, allocations: 11.38 kB / 0.4974 GB, free: 9.773 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.625e-05/0.4238, allocations: 66.3 kB / 0.4975 GB, free: 9.715 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.379e-05/0.4239, allocations: 18.73 kB / 0.4975 GB, free: 9.715 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4239, allocations: 0 / 0.4975 GB, free: 9.715 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002062/0.4241, allocations: 106.9 kB / 0.4976 GB, free: 9.668 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.4241, allocations: 7.422 kB / 0.4976 GB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.4241, allocations: 3.844 kB / 0.4976 GB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.4242, allocations: 0 / 0.4976 GB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.664e-05/0.4243, allocations: 12.89 kB / 0.4977 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4243, allocations: 3.688 kB / 0.4977 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.4244, allocations: 14.73 kB / 0.4977 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.4244, allocations: 3.812 kB / 0.4977 GB, free: 9.656 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.triggeredBooleanSampler.y,triggeredBooleanSampler.y,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,ClockedSignalToTrigger.uu,ClockedSignalToTrigger.y2,$CLKPRE.ClockedSignalToTrigger.y2,$whenCondition2,ClockedSignalToTrigger.y,$PRE.ClockedSignalToTrigger.y3,ClockedSignalToTrigger.y3,ClockedSignalToTrigger.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.267e-05/0.4245, allocations: 41.3 kB / 0.4977 GB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.602e-05/0.4246, allocations: 52.56 kB / 0.4978 GB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/0.4247, allocations: 8.125 kB / 0.4978 GB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.4247, allocations: 4.984 kB / 0.4978 GB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4247, allocations: 0 / 0.4978 GB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.4247, allocations: 0 / 0.4978 GB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/0.425, allocations: 304.6 kB / 0.4981 GB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4251, allocations: 3.812 kB / 0.4981 GB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.795e-05/0.4251, allocations: 5.047 kB / 0.4981 GB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.4251, allocations: 0 / 0.4981 GB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.4251, allocations: 3.688 kB / 0.4981 GB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4251, allocations: 0 / 0.4981 GB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.4251, allocations: 5.703 kB / 0.4981 GB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001793/0.4253, allocations: 202.1 kB / 0.4983 GB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.054e-05/0.4254, allocations: 86.12 kB / 0.4984 GB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.4254, allocations: 5.312 kB / 0.4984 GB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.4256, allocations: 9.109 kB / 0.4984 GB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.4256, allocations: 3.562 kB / 0.4984 GB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.4257, allocations: 3.906 kB / 0.4984 GB, free: 9.031 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.49e-05/0.4257, allocations: 95.81 kB / 0.4985 GB, free: 8.953 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002953/0.426, allocations: 11.81 kB / 0.4985 GB, free: 8.953 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: 11 (sample1.y,ClockedSignalToTrigger.u,ClockedSignalToTrigger.y2,ClockedSignalToTrigger.uu,ClockedSignalToTrigger.y,$whenCondition2,$whenCondition1,ClockedSignalToTrigger.y3,booleanPulse.y,booleanPulse.pulseStart,triggeredBooleanSampler.y) * Number of discrete states: 1 (ClockedSignalToTrigger.y3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0001058/0.4261, allocations: 100.8 kB / 0.4986 GB, free: 8.859 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001727/0.4263, allocations: 59.77 kB / 0.4986 GB, free: 8.852 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4263, allocations: 3.812 kB / 0.4986 GB, free: 8.852 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.22e-05/0.4264, allocations: 21.33 kB / 0.4987 GB, free: 8.848 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.4268, allocations: 21.44 kB / 0.4987 GB, free: 8.848 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.4271, allocations: 136.5 kB / 0.4988 GB, free: 8.734 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.4273, allocations: 0.7175 MB / 0.4995 GB, free: 8.023 MB / 330.7 MB Notification: Performance of SimCode: time 8.12e-07/0.4273, allocations: 7.875 kB / 0.4995 GB, free: 8.016 MB / 330.7 MB Notification: Performance of Templates: time 0.003144/0.4305, allocations: 1.048 MB / 0.5005 GB, free: 7.941 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe 2>&1)