Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Running command: translateModel(AdvancedNoise.Examples.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") translateModel(AdvancedNoise.Examples.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.03323/0.03323, allocations: 3.905 MB / 19.85 MB, free: 1.949 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 176.5 kB / 21.5 MB, free: 316 kB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.3 MB / 246.3 MB, free: 5.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008251/0.0008251, allocations: 95.28 kB / 298.2 MB, free: 6.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003775, allocations: 16 kB / 360 MB, free: 8.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2639, allocations: 51.17 MB / 411.2 MB, free: 27.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1029/0.3668, allocations: 78.96 MB / 490.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/0.3671, allocations: 68.5 kB / 490.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01742/0.3845, allocations: 5.936 MB / 496.2 MB, free: 6.367 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.3846, allocations: 0 / 496.2 MB, free: 6.367 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.3846, allocations: 4 kB / 496.2 MB, free: 6.363 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.002626/0.3872, allocations: 2.279 MB / 498.5 MB, free: 4.012 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.3873, allocations: 12.03 kB / 498.5 MB, free: 4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005957/0.3879, allocations: 72.61 kB / 498.5 MB, free: 3.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005415/0.3885, allocations: 315.5 kB / 498.8 MB, free: 3.582 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.3885, allocations: 8.375 kB / 498.9 MB, free: 3.574 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.3885, allocations: 12.38 kB / 498.9 MB, free: 3.562 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004082/0.389, allocations: 239.8 kB / 499.1 MB, free: 3.316 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.389, allocations: 4.172 kB / 499.1 MB, free: 3.312 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.389, allocations: 7.938 kB / 499.1 MB, free: 3.305 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.389, allocations: 4 kB / 499.1 MB, free: 3.301 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003678/0.3894, allocations: 215.8 kB / 499.3 MB, free: 3.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002753/0.3897, allocations: 246.3 kB / 499.6 MB, free: 2.797 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000387/0.3901, allocations: 309.1 kB / 499.9 MB, free: 2.477 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003603/0.3904, allocations: 293.2 kB / 0.4884 GB, free: 2.188 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.3905, allocations: 0 / 0.4884 GB, free: 2.188 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005768/0.3911, allocations: 0.5069 MB / 0.4889 GB, free: 1.629 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.3911, allocations: 0 / 0.4889 GB, free: 1.629 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001144/0.3922, allocations: 0.7236 MB / 0.4896 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.825e-05/0.3923, allocations: 156.5 kB / 0.4898 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.3926, allocations: 207.1 kB / 0.49 GB, free: 500 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.3926, allocations: 33.7 kB / 0.49 GB, free: 460 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/0.3927, allocations: 116.6 kB / 0.4901 GB, free: 340 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.845e-05/0.3927, allocations: 39.45 kB / 0.4902 GB, free: 300 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.3927, allocations: 0 / 0.4902 GB, free: 300 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3929, allocations: 334.8 kB / 0.4905 GB, free: 15.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.3931, allocations: 128.2 kB / 0.4906 GB, free: 15.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.3933, allocations: 128.3 kB / 0.4907 GB, free: 15.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005682/0.3939, allocations: 435 kB / 0.4911 GB, free: 15.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.394, allocations: 4 kB / 0.4911 GB, free: 15.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006992/0.3947, allocations: 444.1 kB / 0.4916 GB, free: 14.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.76e-05/0.3948, allocations: 95.36 kB / 0.4917 GB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3948, allocations: 0 / 0.4917 GB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3948, allocations: 0 / 0.4917 GB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.395, allocations: 27.92 kB / 0.4917 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.395, allocations: 0 / 0.4917 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.3951, allocations: 23.84 kB / 0.4917 GB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/0.3952, allocations: 15.98 kB / 0.4917 GB, free: 14.63 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition1,$whenCondition2,timeBasedNoise1.state[1],timeBasedNoise1.state[2],timeBasedNoise1.state[3],timeBasedNoise1.state[4],timeBasedNoise1.buffer[1],timeBasedNoise1.buffer[2],timeBasedNoise1.bufferStartTime,timeBasedNoise1.r,$whenCondition3,$whenCondition4,timeBasedNoise.state[1],timeBasedNoise.state[2],timeBasedNoise.state[3],timeBasedNoise.state[4],timeBasedNoise.buffer[1],timeBasedNoise.buffer[2],timeBasedNoise.bufferStartTime,timeBasedNoise.r,globalSeed.id_impure,timeBasedNoise.localSeed,timeBasedNoise.actualGlobalSeed,timeBasedNoise1.localSeed,timeBasedNoise1.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0002266/0.3954, allocations: 255.8 kB / 0.492 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.3955, allocations: 27.72 kB / 0.492 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.3955, allocations: 17.39 kB / 0.492 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3955, allocations: 4 kB / 0.492 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3955, allocations: 0 / 0.492 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3955, allocations: 4 kB / 0.492 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.3958, allocations: 265.4 kB / 0.4923 GB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3958, allocations: 0 / 0.4923 GB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.83e-05/0.3958, allocations: 15.92 kB / 0.4923 GB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.3959, allocations: 4 kB / 0.4923 GB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.3959, allocations: 19.97 kB / 0.4923 GB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.3959, allocations: 7.938 kB / 0.4923 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3959, allocations: 4.188 kB / 0.4923 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008724/0.3968, allocations: 0.6531 MB / 0.493 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.3969, allocations: 144.7 kB / 0.4931 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.52e-05/0.397, allocations: 19.98 kB / 0.4931 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.3971, allocations: 27.94 kB / 0.4931 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.221e-05/0.3972, allocations: 19.97 kB / 0.4932 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.542e-05/0.3973, allocations: 24.02 kB / 0.4932 GB, free: 13.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001209/0.3974, allocations: 143.2 kB / 0.4933 GB, free: 12.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3974, allocations: 0 / 0.4933 GB, free: 12.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003898/0.3978, allocations: 95.92 kB / 0.4934 GB, free: 12.79 MB / 378.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: 20 ($whenCondition3,$whenCondition4,timeBasedNoise.state[1],timeBasedNoise.state[2],timeBasedNoise.state[3],timeBasedNoise.state[4],timeBasedNoise.buffer[1],timeBasedNoise.buffer[2],timeBasedNoise.bufferStartTime,timeBasedNoise.r,$whenCondition1,$whenCondition2,timeBasedNoise1.state[1],timeBasedNoise1.state[2],timeBasedNoise1.state[3],timeBasedNoise1.state[4],timeBasedNoise1.buffer[1],timeBasedNoise1.buffer[2],timeBasedNoise1.bufferStartTime,timeBasedNoise1.r) * Number of discrete states: 20 (timeBasedNoise1.buffer[2],timeBasedNoise1.buffer[1],timeBasedNoise1.r,timeBasedNoise1.bufferStartTime,timeBasedNoise1.state[4],timeBasedNoise1.state[3],timeBasedNoise1.state[2],timeBasedNoise1.state[1],$whenCondition2,$whenCondition1,timeBasedNoise.buffer[2],timeBasedNoise.buffer[1],timeBasedNoise.r,timeBasedNoise.bufferStartTime,timeBasedNoise.state[4],timeBasedNoise.state[3],timeBasedNoise.state[2],timeBasedNoise.state[1],$whenCondition4,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * 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.0006283/0.3985, allocations: 283.5 kB / 0.4937 GB, free: 12.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008657/0.3993, allocations: 0.7446 MB / 0.4944 GB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3994, allocations: 0 / 0.4944 GB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006654/0.4, allocations: 0.651 MB / 0.495 GB, free: 11.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.4003, allocations: 31.98 kB / 0.4951 GB, free: 11.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007841/0.4011, allocations: 0.521 MB / 0.4956 GB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.4014, allocations: 0.7278 MB / 0.4963 GB, free: 9.762 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.151e-05/0.4015, allocations: 16.41 kB / 0.4963 GB, free: 9.746 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.4015, allocations: 19.44 kB / 0.4963 GB, free: 9.727 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4015, allocations: 0 / 0.4963 GB, free: 9.727 MB / 378.7 MB Notification: Performance of Templates: time 0.008434/0.41, allocations: 3.757 MB / 0.5 GB, free: 6 MB / 378.7 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.makefile make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.o AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.c AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.c:269:11: error: assigning to 'modelica_real' (aka 'double') from incompatible type 'real_array' (aka 'struct base_array_s') tmp27 = tmp25; ^ ~~~~~ AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.c:451:11: error: assigning to 'modelica_real' (aka 'double') from incompatible type 'real_array' (aka 'struct base_array_s') tmp53 = tmp51; ^ ~~~~~ 2 errors generated. make: *** [: AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.o] Error 1