Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo", uses=false) Using package Modelica_Noise with version 1.0 Beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed") translateModel(Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003056/0.003056, allocations: 164.7 kB / 7.449 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 0.9652/0.9652, allocations: 170.6 MB / 178.4 MB, free: 15.78 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00158/0.00158, allocations: 107.9 kB / 217.7 MB, free: 8.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo): time 0.01778/0.01778, allocations: 3.043 MB / 259.8 MB, free: 28.67 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.693e-06/6.712e-06, allocations: 4 kB / 305.3 MB, free: 15.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1528, allocations: 39.38 MB / 344.7 MB, free: 38.53 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06794/0.2208, allocations: 67.41 MB / 412.1 MB, free: 8.422 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.221, allocations: 79.95 kB / 412.1 MB, free: 8.344 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Math/Random/Interfaces/random.mo:7:3-7:71:writable] Warning: Unused input variable stateSize in function .Modelica_Noise.Math.Random.Generators.Xorshift64star.random. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Math/Random/Interfaces/random.mo:7:3-7:71:writable] Warning: Unused input variable stateSize in function .Modelica_Noise.Math.Random.Generators.Xorshift128plus.random. Notification: Performance of FrontEnd: time 0.02858/0.2496, allocations: 11.21 MB / 423.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.2496, allocations: 4 kB / 423.4 MB, free: 13.05 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0008887/0.2505, allocations: 0.6189 MB / 424 MB, free: 12.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.2506, allocations: 13.42 kB / 424 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008339/0.2514, allocations: 127.4 kB / 424.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.2517, allocations: 247.7 kB / 424.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/0.2517, allocations: 12 kB / 424.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.704e-05/0.2518, allocations: 12 kB / 424.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002271/0.252, allocations: 112.4 kB / 424.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.2524, allocations: 306.7 kB / 424.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2524, allocations: 11.98 kB / 424.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.2524, allocations: 0 / 424.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2525, allocations: 4 kB / 424.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004962/0.253, allocations: 435.6 kB / 425.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004492/0.2534, allocations: 416.8 kB / 425.6 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.2536, allocations: 190.3 kB / 425.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.2537, allocations: 8 kB / 425.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004012/0.2541, allocations: 347.9 kB / 426.2 MB, free: 9.848 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 3.036e-06/0.2541, allocations: 2.062 kB / 426.2 MB, free: 9.848 MB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.0008677/0.255, allocations: 420.8 kB / 426.6 MB, free: 9.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001652/0.2551, allocations: 390 kB / 427 MB, free: 8.969 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.2554, allocations: 259.5 kB / 427.2 MB, free: 8.699 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001264/0.2556, allocations: 77.66 kB / 427.3 MB, free: 8.617 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.2556, allocations: 121 kB / 427.4 MB, free: 8.496 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.2558, allocations: 130.5 kB / 427.5 MB, free: 8.367 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.2558, allocations: 4 kB / 427.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.2559, allocations: 362.7 kB / 427.9 MB, free: 8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.2563, allocations: 201.4 kB / 428.1 MB, free: 7.805 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.2567, allocations: 308.2 kB / 428.4 MB, free: 7.469 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006726/0.2573, allocations: 287.2 kB / 428.7 MB, free: 7.191 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2573, allocations: 0 / 428.7 MB, free: 7.191 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0012/0.2586, allocations: 0.6561 MB / 429.3 MB, free: 6.531 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.2586, allocations: 11.28 kB / 429.3 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.482e-05/0.2586, allocations: 4 kB / 429.3 MB, free: 6.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.2586, allocations: 11.91 kB / 429.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/0.2589, allocations: 71.95 kB / 429.4 MB, free: 6.438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.259, allocations: 4 kB / 429.4 MB, free: 6.434 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.2592, allocations: 47.58 kB / 429.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.671e-05/0.2593, allocations: 31.98 kB / 429.5 MB, free: 6.355 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 84 ($whenCondition6,$PRE.manualSeed3.state[1],manualSeed3.state[1],$PRE.manualSeed3.state[2],manualSeed3.state[2],$PRE.manualSeed3.state[3],manualSeed3.state[3],$PRE.manualSeed3.state[4],manualSeed3.state[4],$PRE.manualSeed3.r,manualSeed3.r,$PRE.manualSeed3.r_raw,manualSeed3.r_raw,manualSeed3.localSeed,$whenCondition5,$PRE.manualSeed2.state[1],manualSeed2.state[1],$PRE.manualSeed2.state[2],manualSeed2.state[2],$PRE.manualSeed2.state[3],manualSeed2.state[3],$PRE.manualSeed2.state[4],manualSeed2.state[4],$PRE.manualSeed2.r,manualSeed2.r,$PRE.manualSeed2.r_raw,manualSeed2.r_raw,manualSeed2.localSeed,$whenCondition4,$PRE.manualSeed1.state[1],manualSeed1.state[1],$PRE.manualSeed1.state[2],manualSeed1.state[2],$PRE.manualSeed1.state[3],manualSeed1.state[3],$PRE.manualSeed1.state[4],manualSeed1.state[4],$PRE.manualSeed1.r,manualSeed1.r,$PRE.manualSeed1.r_raw,manualSeed1.r_raw,manualSeed1.localSeed,$whenCondition3,$PRE.automaticSeed3.state[1],automaticSeed3.state[1],$PRE.automaticSeed3.state[2],automaticSeed3.state[2],$PRE.automaticSeed3.state[3],automaticSeed3.state[3],$PRE.automaticSeed3.state[4],automaticSeed3.state[4],$PRE.automaticSeed3.r,automaticSeed3.r,$PRE.automaticSeed3.r_raw,automaticSeed3.r_raw,automaticSeed3.localSeed,$whenCondition2,$PRE.automaticSeed2.state[1],automaticSeed2.state[1],$PRE.automaticSeed2.state[2],automaticSeed2.state[2],$PRE.automaticSeed2.state[3],automaticSeed2.state[3],$PRE.automaticSeed2.state[4],automaticSeed2.state[4],$PRE.automaticSeed2.r,automaticSeed2.r,$PRE.automaticSeed2.r_raw,automaticSeed2.r_raw,automaticSeed2.localSeed,$whenCondition1,$PRE.automaticSeed1.state[1],automaticSeed1.state[1],$PRE.automaticSeed1.state[2],automaticSeed1.state[2],$PRE.automaticSeed1.state[3],automaticSeed1.state[3],$PRE.automaticSeed1.state[4],automaticSeed1.state[4],$PRE.automaticSeed1.r,automaticSeed1.r,$PRE.automaticSeed1.r_raw,automaticSeed1.r_raw,automaticSeed1.localSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 60 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 6 * 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.0001637/0.2595, allocations: 169.1 kB / 429.7 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.508e-05/0.2595, allocations: 49.5 kB / 429.7 MB, free: 6.137 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.509e-05/0.2596, allocations: 29.88 kB / 429.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.2596, allocations: 8 kB / 429.8 MB, free: 6.102 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2596, allocations: 3.938 kB / 429.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.2596, allocations: 8 kB / 429.8 MB, free: 6.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/0.26, allocations: 309.7 kB / 430.1 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.26, allocations: 3.984 kB / 430.1 MB, free: 5.746 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.2601, allocations: 35.92 kB / 430.1 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.2602, allocations: 4 kB / 430.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.2602, allocations: 23.91 kB / 430.1 MB, free: 5.684 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.2602, allocations: 7.906 kB / 430.1 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.2602, allocations: 4 kB / 430.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008296/0.2611, allocations: 0.6217 MB / 430.8 MB, free: 4.934 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.751e-05/0.2611, allocations: 116.6 kB / 430.9 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-05/0.2612, allocations: 39.89 kB / 430.9 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.2615, allocations: 31.98 kB / 431 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.942e-05/0.2616, allocations: 47.78 kB / 431 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-05/0.2616, allocations: 27.97 kB / 431 MB, free: 4.656 MB / 298.7 MB Notification: Performance of sort global known variables: time 0.0001749/0.2618, allocations: 195.1 kB / 431.2 MB, free: 4.465 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004736/0.2623, allocations: 107.9 kB / 431.3 MB, free: 4.359 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 48 (manualSeed3.localSeed,$whenCondition6,manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4],manualSeed3.r,manualSeed3.r_raw,manualSeed2.localSeed,$whenCondition5,manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed2.r,manualSeed2.r_raw,manualSeed1.localSeed,$whenCondition4,manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],manualSeed1.r,manualSeed1.r_raw,automaticSeed3.localSeed,$whenCondition3,automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed3.r,automaticSeed3.r_raw,automaticSeed2.localSeed,$whenCondition2,automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed2.r,automaticSeed2.r_raw,automaticSeed1.localSeed,$whenCondition1,automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4],automaticSeed1.r,automaticSeed1.r_raw) * Number of discrete states: 24 (automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4],automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 18 * 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.0004038/0.2627, allocations: 237.8 kB / 431.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008137/0.2635, allocations: 0.6202 MB / 432.2 MB, free: 3.469 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2635, allocations: 1.219 kB / 432.2 MB, free: 3.469 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002976/0.2638, allocations: 192.2 kB / 432.4 MB, free: 3.281 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.264, allocations: 25.41 kB / 432.4 MB, free: 3.258 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008454/0.2649, allocations: 484 kB / 432.9 MB, free: 2.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003855/0.2653, allocations: 0.8305 MB / 433.7 MB, free: 1.875 MB / 298.7 MB Notification: Performance of SimCode: time 2.9e-07/0.2653, allocations: 0 / 433.7 MB, free: 1.875 MB / 298.7 MB Notification: Performance of Templates: time 0.008969/0.2743, allocations: 5.036 MB / 438.7 MB, free: 12.87 MB / 314.7 MB make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed.makefile make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed.makefile clang -fPIC -O0 -falign-functions -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed -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 Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed.c clang -fPIC -O0 -falign-functions -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed -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 Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_functions.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_functions.c In file included from Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_functions.c:6: In file included from ./Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:600:10: warning: implicit declaration of function '_getpid' is invalid in C99 [-Wimplicit-function-declaration] pid = ModelicaRandom_getpid(); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:207:34: note: expanded from macro 'ModelicaRandom_getpid' # define ModelicaRandom_getpid _getpid ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_functions.c:19:34: warning: passing 'const int *' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ModelicaRandom_xorshift128plus((const int*) _stateIn_c89, (int*) _stateOut_c89, &_result_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:363:57: note: passing argument to parameter 'state_in' here MODELICA_EXPORT void ModelicaRandom_xorshift128plus(int state_in[], int state_out[], double* y) { ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_functions.c:105:33: warning: passing 'const int *' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ModelicaRandom_xorshift64star((const int*) _stateIn_c89, (int*) _stateOut_c89, &_result_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:312:56: note: passing argument to parameter 'state_in' here MODELICA_EXPORT void ModelicaRandom_xorshift64star(int state_in[], int state_out[], double* y) { ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_functions.c:327:52: warning: passing 'const int *' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ModelicaRandom_setInternalState_xorshift1024star((const int*) _rngState_c89, size_of_dimension_base_array(_rngState, ((modelica_integer) 1)), _id_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:530:76: note: passing argument to parameter 'state' here MODELICA_EXPORT void ModelicaRandom_setInternalState_xorshift1024star(int* state, size_t nState, int id) { ^ 4 warnings generated. clang -fPIC -O0 -falign-functions -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed -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 Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_records.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_records.c clang -fPIC -O0 -falign-functions -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed -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 Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_01exo.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_01exo.c clang -fPIC -O0 -falign-functions -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed -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 Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_02nls.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_02nls.c clang -fPIC -O0 -falign-functions -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed -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 Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_03lsy.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_03lsy.c clang -fPIC -O0 -falign-functions -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed -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 Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_04set.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_04set.c clang -fPIC -O0 -falign-functions -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed -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 Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_05evt.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_05evt.c clang -fPIC -O0 -falign-functions -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed -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 Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:38:55: error: use of undeclared identifier '$Pstate'; did you mean 'setstate'? integer_array_create(&tmp0, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^~~~~~~ setstate /usr/include/stdlib.h:415:14: note: 'setstate' declared here extern char *setstate (char *__statebuf) __THROW __nonnull ((1)); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:38:93: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp0, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:38:137: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp0, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:206:55: error: use of undeclared identifier '$Pstate'; did you mean 'setstate'? integer_array_create(&tmp5, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^~~~~~~ setstate /usr/include/stdlib.h:415:14: note: 'setstate' declared here extern char *setstate (char *__statebuf) __THROW __nonnull ((1)); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:206:93: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp5, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:206:137: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp5, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:374:56: error: use of undeclared identifier '$Pstate'; did you mean 'setstate'? integer_array_create(&tmp10, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^~~~~~~ setstate /usr/include/stdlib.h:415:14: note: 'setstate' declared here extern char *setstate (char *__statebuf) __THROW __nonnull ((1)); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:374:94: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp10, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:374:138: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp10, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:542:56: error: use of undeclared identifier '$Pstate'; did you mean 'setstate'? integer_array_create(&tmp15, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^~~~~~~ setstate /usr/include/stdlib.h:415:14: note: 'setstate' declared here extern char *setstate (char *__statebuf) __THROW __nonnull ((1)); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:542:94: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp15, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:542:138: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp15, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:710:56: error: use of undeclared identifier '$Pstate'; did you mean 'setstate'? integer_array_create(&tmp20, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^~~~~~~ setstate /usr/include/stdlib.h:415:14: note: 'setstate' declared here extern char *setstate (char *__statebuf) __THROW __nonnull ((1)); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:710:94: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp20, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:710:138: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp20, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:878:56: error: use of undeclared identifier '$Pstate'; did you mean 'setstate'? integer_array_create(&tmp25, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^~~~~~~ setstate /usr/include/stdlib.h:415:14: note: 'setstate' declared here extern char *setstate (char *__statebuf) __THROW __nonnull ((1)); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:878:94: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp25, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:878:138: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp25, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ 18 errors generated. make: *** [: Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.o] Error 1