Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.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.TestTransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction") [: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.001612/0.001612, allocations: 172.9 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.672/1.672, 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.001275/0.001275, allocations: 92.2 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.1542/0.1542, allocations: 12.6 MB / 322.3 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.215e-06/8.396e-06, allocations: 4 kB / 378.4 MB, free: 76.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08563/0.08566, allocations: 50.36 MB / 428.7 MB, free: 25.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3308/0.4165, allocations: 78.36 MB / 0.4952 GB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.4167, allocations: 60.83 kB / 0.4953 GB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.009169/0.4259, allocations: 1.825 MB / 0.4971 GB, free: 11.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.426, allocations: 0.8438 kB / 0.4971 GB, free: 11.58 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007414/0.4268, allocations: 439.2 kB / 0.4975 GB, free: 11.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.4268, allocations: 7.562 kB / 0.4975 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.784e-05/0.4269, allocations: 24.97 kB / 0.4975 GB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.4271, allocations: 199.7 kB / 0.4977 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.4271, allocations: 5.375 kB / 0.4977 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.4272, allocations: 8.469 kB / 0.4977 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002457/0.4274, allocations: 72.39 kB / 0.4978 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004765/0.4279, allocations: 233.8 kB / 0.498 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.428, allocations: 3.938 kB / 0.498 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.428, allocations: 3.984 kB / 0.498 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.428, allocations: 3.781 kB / 0.498 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005826/0.4286, allocations: 322.3 kB / 0.4983 GB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.429, allocations: 165.6 kB / 0.4985 GB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.4292, allocations: 80.33 kB / 0.4986 GB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.4292, allocations: 1.312 kB / 0.4986 GB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.4294, allocations: 99.44 kB / 0.4986 GB, free: 10.51 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 2.164e-06/0.4294, allocations: 0 / 0.4986 GB, free: 10.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004609/0.4299, allocations: 177.7 kB / 0.4988 GB, free: 10.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.43, allocations: 86.34 kB / 0.4989 GB, free: 10.37 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.4301, allocations: 132 kB / 0.499 GB, free: 10.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.4301, allocations: 32.95 kB / 0.4991 GB, free: 10.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.608e-05/0.4302, allocations: 159.7 kB / 0.4992 GB, free: 10.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.939e-05/0.4302, allocations: 38.59 kB / 0.4992 GB, free: 10.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.4303, allocations: 0 / 0.4992 GB, free: 10.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.616e-05/0.4303, allocations: 320.5 kB / 0.4996 GB, free: 9.754 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.4305, allocations: 36.31 kB / 0.4996 GB, free: 9.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.4306, allocations: 151.8 kB / 0.4997 GB, free: 9.609 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.4308, allocations: 63.34 kB / 0.4998 GB, free: 9.602 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.4308, allocations: 0 / 0.4998 GB, free: 9.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003966/0.4312, allocations: 187 kB / 0.5 GB, free: 9.543 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.4312, allocations: 3.844 kB / 0.5 GB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.4313, allocations: 3.844 kB / 0.5 GB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.4313, allocations: 7.531 kB / 0.5 GB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.4315, allocations: 44.58 kB / 0.5 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.4316, allocations: 7.656 kB / 0.5 GB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.4317, allocations: 13.22 kB / 0.5 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.4318, allocations: 11.28 kB / 0.5001 GB, free: 9.527 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: transferFunction2.y:DISCRETE(fixed = false ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.transferFunction2.firstTrigger,transferFunction2.firstTrigger,$PRE.transferFunction2.x1,transferFunction2.x1,$PRE.transferFunction2.xext[1],transferFunction2.xext[1],$PRE.transferFunction2.xext[2],transferFunction2.xext[2],$PRE.transferFunction2.x[1],transferFunction2.x[1],$PRE.transferFunction2.y,transferFunction2.y,$PRE.sampler.firstTrigger,sampler.firstTrigger,$whenCondition1,sampler.sampleTrigger,$whenCondition2,transferFunction2.sampleTrigger,sampler.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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 0.0001777/0.4319, allocations: 47.58 kB / 0.5001 GB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.4321, allocations: 84.28 kB / 0.5002 GB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.162e-05/0.4322, allocations: 16.11 kB / 0.5002 GB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4322, allocations: 4 kB / 0.5002 GB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.4323, allocations: 3.969 kB / 0.5002 GB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.4323, allocations: 5.25 kB / 0.5002 GB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006311/0.4329, allocations: 415 kB / 0.5006 GB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.4329, allocations: 4 kB / 0.5006 GB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.4331, allocations: 18.25 kB / 0.5006 GB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.4332, allocations: 7.797 kB / 0.5006 GB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.4332, allocations: 5.234 kB / 0.5006 GB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4332, allocations: 7.656 kB / 0.5006 GB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4332, allocations: 0 / 0.5006 GB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004107/0.4336, allocations: 290.4 kB / 0.5009 GB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.4337, allocations: 98.41 kB / 0.501 GB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.534e-05/0.4337, allocations: 8.828 kB / 0.501 GB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.434, allocations: 18.62 kB / 0.501 GB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.4341, allocations: 6.781 kB / 0.501 GB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.4341, allocations: 8.828 kB / 0.5011 GB, free: 8.867 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.258e-05/0.4342, allocations: 111.2 kB / 0.5012 GB, free: 8.793 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003958/0.4346, allocations: 26.84 kB / 0.5012 GB, free: 8.789 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: 12 (transferFunction2.sampleTrigger,sampler.sampleTrigger,$whenCondition2,$whenCondition1,sampler.firstTrigger,sampler.y,transferFunction2.firstTrigger,transferFunction2.y,transferFunction2.x[1],transferFunction2.x1,transferFunction2.xext[1],transferFunction2.xext[2]) * Number of discrete states: 1 (transferFunction2.x[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001397/0.4348, allocations: 109.8 kB / 0.5013 GB, free: 8.695 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003439/0.4351, allocations: 139.3 kB / 0.5014 GB, free: 8.684 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4351, allocations: 0 / 0.5014 GB, free: 8.684 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.4353, allocations: 51.5 kB / 0.5015 GB, free: 8.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.4357, allocations: 41.8 kB / 0.5015 GB, free: 8.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007287/0.4364, allocations: 243.4 kB / 0.5017 GB, free: 8.551 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/0.4367, allocations: 0.7558 MB / 0.5025 GB, free: 7.828 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.4367, allocations: 0 / 0.5025 GB, free: 7.828 MB / 330.7 MB Notification: Performance of Templates: time 0.004587/0.4413, allocations: 1.8 MB / 0.5042 GB, free: 7.691 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.pipe 2>&1)