Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ImpureGenerator.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.ImpureGenerator,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator",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.006124/0.006124, allocations: 166.5 kB / 15.11 MB, free: 5.969 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.15/1.15, allocations: 170.8 MB / 186.6 MB, free: 0.957 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.001487/0.001487, allocations: 111.3 kB / 226.2 MB, free: 10.08 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.01886/0.01886, allocations: 3.107 MB / 268.7 MB, free: 15.44 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003344/0.0003345, allocations: 9.625 kB / 318.7 MB, free: 63.15 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0628/0.06315, allocations: 39.39 MB / 358.1 MB, free: 23.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2183/0.2815, allocations: 66.82 MB / 424.9 MB, free: 18.7 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.2817, allocations: 79.14 kB / 425 MB, free: 18.7 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. Notification: Performance of FrontEnd - DAE generated: time 0.006746/0.2885, allocations: 2.661 MB / 427.7 MB, free: 18.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2885, allocations: 0 / 427.7 MB, free: 18.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.2885, allocations: 0 / 427.7 MB, free: 18.23 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002964/0.2888, allocations: 362.5 kB / 428 MB, free: 17.86 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2889, allocations: 14.2 kB / 428 MB, free: 17.86 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.493e-05/0.2889, allocations: 31.69 kB / 428.1 MB, free: 17.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.289, allocations: 9.375 kB / 428.1 MB, free: 17.81 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.257e-05/0.2891, allocations: 165.4 kB / 428.2 MB, free: 17.62 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.2891, allocations: 0.7812 kB / 428.2 MB, free: 17.62 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.2891, allocations: 9.078 kB / 428.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.112e-05/0.2892, allocations: 32.16 kB / 428.3 MB, free: 17.58 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2892, allocations: 0 / 428.3 MB, free: 17.58 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.2892, allocations: 2.625 kB / 428.3 MB, free: 17.58 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.2892, allocations: 0 / 428.3 MB, free: 17.58 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.665e-05/0.2892, allocations: 9.312 kB / 428.3 MB, free: 17.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001129/0.2893, allocations: 158.6 kB / 428.4 MB, free: 17.39 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.869e-05/0.2894, allocations: 16.55 kB / 428.4 MB, free: 17.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.2894, allocations: 7.875 kB / 428.5 MB, free: 17.36 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.643e-05/0.2895, allocations: 51.78 kB / 428.5 MB, free: 17.3 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 2.174e-06/0.2895, allocations: 6.031 kB / 428.5 MB, free: 17.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001681/0.2897, allocations: 44.25 kB / 428.6 MB, free: 17.27 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.2897, allocations: 52.02 kB / 428.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.058e-05/0.2898, allocations: 99.38 kB / 428.7 MB, free: 17.12 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.2898, allocations: 33.52 kB / 428.7 MB, free: 17.08 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.493e-05/0.2899, allocations: 82.08 kB / 428.8 MB, free: 17 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.2899, allocations: 4.938 kB / 428.8 MB, free: 17 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-06/0.2899, allocations: 0 / 428.8 MB, free: 17 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.539e-05/0.2899, allocations: 321.2 kB / 429.1 MB, free: 16.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.29, allocations: 1.734 kB / 429.1 MB, free: 16.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.696e-05/0.29, allocations: 13.31 kB / 429.2 MB, free: 16.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.828e-05/0.29, allocations: 3.938 kB / 429.2 MB, free: 16.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.29, allocations: 0 / 429.2 MB, free: 16.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.867e-05/0.2901, allocations: 43.39 kB / 429.2 MB, free: 16.63 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.2901, allocations: 13.67 kB / 429.2 MB, free: 16.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.2902, allocations: 4.125 kB / 429.2 MB, free: 16.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.2902, allocations: 1.312 kB / 429.2 MB, free: 16.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.377e-05/0.2902, allocations: 4 kB / 429.2 MB, free: 16.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.2902, allocations: 0.75 kB / 429.2 MB, free: 16.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.722e-05/0.2903, allocations: 0 / 429.2 MB, free: 16.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.2903, allocations: 0.9062 kB / 429.2 MB, free: 16.62 MB / 282.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: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.391e-05/0.2903, allocations: 113.5 kB / 429.3 MB, free: 16.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.779e-06/0.2904, allocations: 1.094 kB / 429.3 MB, free: 16.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.2904, allocations: 13.17 kB / 429.3 MB, free: 16.49 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2904, allocations: 5.953 kB / 429.4 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2904, allocations: 0 / 429.4 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2904, allocations: 0.75 kB / 429.4 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.2905, allocations: 155.1 kB / 429.5 MB, free: 16.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.2905, allocations: 0 / 429.5 MB, free: 16.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-06/0.2906, allocations: 1.469 kB / 429.5 MB, free: 16.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2906, allocations: 0.7031 kB / 429.5 MB, free: 16.3 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.2906, allocations: 0 / 429.5 MB, free: 16.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.2906, allocations: 9.875 kB / 429.5 MB, free: 16.29 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2906, allocations: 0 / 429.5 MB, free: 16.29 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.83e-05/0.2907, allocations: 84.92 kB / 429.6 MB, free: 16.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.702e-05/0.2907, allocations: 80.95 kB / 429.7 MB, free: 16.12 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.2907, allocations: 0.5625 kB / 429.7 MB, free: 16.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.456e-05/0.2908, allocations: 1.125 kB / 429.7 MB, free: 16.12 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.987e-05/0.2908, allocations: 6.5 kB / 429.7 MB, free: 16.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.2908, allocations: 0 / 429.7 MB, free: 16.11 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.5e-05/0.2908, allocations: 92.45 kB / 429.8 MB, free: 16.04 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2908, allocations: 32 / 429.8 MB, free: 16.04 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002476/0.2911, allocations: 42.06 kB / 429.8 MB, free: 16.02 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000399/0.2915, allocations: 0.6543 MB / 430.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.331e-05/0.2916, allocations: 8.016 kB / 430.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2916, allocations: 0 / 430.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.148e-05/0.2916, allocations: 9.359 kB / 430.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001004/0.2917, allocations: 5.844 kB / 430.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005031/0.2922, allocations: 0.5209 MB / 431 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.2923, allocations: 0.6792 MB / 431.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.668e-05/0.2924, allocations: 5.906 kB / 431.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.2924, allocations: 10.78 kB / 431.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2924, allocations: 0 / 431.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01298/0.3054, allocations: 1.828 MB / 433.5 MB, free: 13.96 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00013/0.3056, allocations: 192.7 kB / 433.7 MB, free: 13.72 MB / 282.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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_ImpureGenerator.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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_ImpureGenerator_functions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_functions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_functions.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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_ImpureGenerator_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_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_ImpureGenerator_functions.o] Error 1