Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.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: "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009101/0.00091, allocations: 169.7 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.161/1.161, allocations: 170.6 MB / 183.8 MB, free: 11.5 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.001388/0.001388, allocations: 100.6 kB / 223.2 MB, free: 4.117 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.01611/0.01611, allocations: 3.061 MB / 265.5 MB, free: 24.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.754e-05/2.755e-05, allocations: 4 kB / 312.9 MB, free: 8.902 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2296, allocations: 39.37 MB / 352.2 MB, free: 37.43 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08613/0.3157, allocations: 69.79 MB / 422 MB, free: 1.781 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.316, allocations: 79.95 kB / 422.1 MB, free: 1.703 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 - DAE generated: time 0.02195/0.338, allocations: 7.676 MB / 429.8 MB, free: 10 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.338, allocations: 0 / 429.8 MB, free: 10 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.338, allocations: 4 kB / 429.8 MB, free: 10 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007958/0.3388, allocations: 498.2 kB / 430.3 MB, free: 9.469 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.3389, allocations: 16.03 kB / 430.3 MB, free: 9.453 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.124e-05/0.339, allocations: 34.56 kB / 430.3 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.3391, allocations: 31.8 kB / 430.3 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.3395, allocations: 254.4 kB / 430.6 MB, free: 9.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.3395, allocations: 8 kB / 430.6 MB, free: 9.082 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.3396, allocations: 7.953 kB / 430.6 MB, free: 9.074 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.3398, allocations: 124.4 kB / 430.7 MB, free: 8.941 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3398, allocations: 0 / 430.7 MB, free: 8.941 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.3398, allocations: 4 kB / 430.7 MB, free: 8.938 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3398, allocations: 4 kB / 430.7 MB, free: 8.934 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.34, allocations: 75.89 kB / 430.8 MB, free: 8.859 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007105/0.3407, allocations: 0.5124 MB / 431.3 MB, free: 8.293 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.3409, allocations: 130.4 kB / 431.5 MB, free: 8.148 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.045e-05/0.341, allocations: 61.69 kB / 431.5 MB, free: 8.082 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.341, allocations: 3.984 kB / 431.5 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/0.3412, allocations: 137.1 kB / 431.6 MB, free: 7.926 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.3413, allocations: 3.938 kB / 431.7 MB, free: 7.922 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003492/0.3416, allocations: 179.3 kB / 431.8 MB, free: 7.742 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.3417, allocations: 89.09 kB / 431.9 MB, free: 7.637 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.3419, allocations: 197.9 kB / 432.1 MB, free: 7.434 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.3419, allocations: 33.7 kB / 432.1 MB, free: 7.395 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/0.342, allocations: 128 kB / 432.3 MB, free: 7.266 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/0.3421, allocations: 39.59 kB / 432.3 MB, free: 7.227 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/0.3421, allocations: 4 kB / 432.3 MB, free: 7.223 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3422, allocations: 330.8 kB / 432.6 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.3423, allocations: 75.83 kB / 432.7 MB, free: 6.816 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.3425, allocations: 81.69 kB / 432.8 MB, free: 6.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.3426, allocations: 80.69 kB / 432.9 MB, free: 6.648 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3426, allocations: 0 / 432.9 MB, free: 6.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000324/0.3429, allocations: 221.3 kB / 433.1 MB, free: 6.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.343, allocations: 4 kB / 433.1 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.343, allocations: 3.984 kB / 433.1 MB, free: 6.422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.343, allocations: 4 kB / 433.1 MB, free: 6.418 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.3432, allocations: 23.92 kB / 433.1 MB, free: 6.395 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.3432, allocations: 7.953 kB / 433.1 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.3434, allocations: 31.81 kB / 433.2 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.3434, allocations: 7.984 kB / 433.2 MB, free: 6.348 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,whiteNoise.localSeed,$PRE.whiteNoise.state[1],whiteNoise.state[1],$PRE.whiteNoise.state[2],whiteNoise.state[2],$PRE.whiteNoise.state[3],whiteNoise.state[3],$PRE.whiteNoise.state[4],whiteNoise.state[4],$PRE.whiteNoise.r,whiteNoise.r,$PRE.whiteNoise.r_raw,whiteNoise.r_raw) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.431e-05/0.3435, allocations: 121 kB / 433.3 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.3435, allocations: 15.81 kB / 433.3 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/0.3436, allocations: 25.64 kB / 433.3 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.3436, allocations: 4 kB / 433.3 MB, free: 6.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3436, allocations: 0 / 433.3 MB, free: 6.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3436, allocations: 3.953 kB / 433.3 MB, free: 6.176 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.3439, allocations: 237.5 kB / 433.6 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3439, allocations: 4.031 kB / 433.6 MB, free: 5.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.344, allocations: 31.92 kB / 433.6 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.344, allocations: 0 / 433.6 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.344, allocations: 3.984 kB / 433.6 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.344, allocations: 4 kB / 433.6 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3441, allocations: 0 / 433.6 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.3445, allocations: 292.1 kB / 433.9 MB, free: 5.539 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.782e-05/0.3446, allocations: 104.8 kB / 434 MB, free: 5.418 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.3446, allocations: 11.98 kB / 434 MB, free: 5.406 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.3448, allocations: 19.98 kB / 434 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.3448, allocations: 11.94 kB / 434 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.3449, allocations: 7.984 kB / 434 MB, free: 5.367 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001375/0.345, allocations: 160.5 kB / 434.2 MB, free: 5.211 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.345, allocations: 0 / 434.2 MB, free: 5.211 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004716/0.3455, allocations: 115.9 kB / 434.3 MB, free: 5.098 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Hw.x_scaled[1],Hw.x_scaled[2]) * Number of discrete variables: 8 ($whenCondition1,whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4],whiteNoise.r,whiteNoise.r_raw,whiteNoise.localSeed) * Number of discrete states: 4 (whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001304/0.3468, allocations: 1.066 MB / 435.4 MB, free: 4.008 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003161/0.3471, allocations: 181.8 kB / 435.6 MB, free: 3.824 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3471, allocations: 0 / 435.6 MB, free: 3.824 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.3473, allocations: 71.95 kB / 435.6 MB, free: 3.754 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.3475, allocations: 19.95 kB / 435.6 MB, free: 3.734 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007617/0.3482, allocations: 374.9 kB / 436 MB, free: 3.332 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.3485, allocations: 0.7324 MB / 436.7 MB, free: 2.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.3486, allocations: 36.69 kB / 436.8 MB, free: 2.531 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.613e-05/0.3487, allocations: 47.41 kB / 436.8 MB, free: 2.488 MB / 298.7 MB Notification: Performance of SimCode: time 3.4e-07/0.3487, allocations: 0 / 436.8 MB, free: 2.488 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.3658, allocations: 5.043 MB / 441.9 MB, free: 13.58 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/0.366, allocations: 182.1 kB / 442 MB, free: 13.36 MB / 314.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_functions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_functions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_functions.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:128:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_functions.o] Error 1