Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions.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.Distributions,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions",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.001008/0.001008, allocations: 168.8 kB / 12.72 MB, free: 2.59 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.183/1.183, 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.001304/0.001304, allocations: 102.8 kB / 223.2 MB, free: 4.129 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.01601/0.01601, allocations: 3.051 MB / 265.5 MB, free: 24.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.472e-05/2.475e-05, allocations: 0 / 312.9 MB, free: 8.902 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.212, allocations: 39.37 MB / 352.2 MB, free: 37.41 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.082/0.294, allocations: 69.58 MB / 421.8 MB, free: 1.977 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002121/0.2943, allocations: 79.95 kB / 421.9 MB, free: 1.898 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.02693/0.3212, allocations: 9.235 MB / 431.1 MB, free: 8.625 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3213, allocations: 0 / 431.1 MB, free: 8.625 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.3213, allocations: 8 kB / 431.1 MB, free: 8.617 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009451/0.3222, allocations: 0.4944 MB / 431.6 MB, free: 8.078 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.3223, allocations: 8.031 kB / 431.6 MB, free: 8.07 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.773e-05/0.3224, allocations: 42.55 kB / 431.7 MB, free: 8.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002272/0.3226, allocations: 27.8 kB / 431.7 MB, free: 7.992 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.3228, allocations: 207.1 kB / 431.9 MB, free: 7.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.3228, allocations: 11.98 kB / 431.9 MB, free: 7.738 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.3229, allocations: 11.94 kB / 431.9 MB, free: 7.727 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.3231, allocations: 129.9 kB / 432 MB, free: 7.578 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3231, allocations: 0 / 432 MB, free: 7.578 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.3232, allocations: 0 / 432 MB, free: 7.578 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.3232, allocations: 4 kB / 432.1 MB, free: 7.574 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.3233, allocations: 47.92 kB / 432.1 MB, free: 7.527 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.3236, allocations: 280.9 kB / 432.4 MB, free: 7.191 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.3238, allocations: 169.9 kB / 432.5 MB, free: 6.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.499e-05/0.3239, allocations: 64.39 kB / 432.6 MB, free: 6.902 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.324, allocations: 4 kB / 432.6 MB, free: 6.898 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.3242, allocations: 163.6 kB / 432.8 MB, free: 6.711 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.573e-06/0.3242, allocations: 3.938 kB / 432.8 MB, free: 6.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004028/0.3246, allocations: 198.4 kB / 433 MB, free: 6.508 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.979e-05/0.3247, allocations: 178.2 kB / 433.1 MB, free: 6.297 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.3249, allocations: 173.8 kB / 433.3 MB, free: 6.117 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.325, allocations: 45.69 kB / 433.4 MB, free: 6.066 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.683e-05/0.3251, allocations: 108.1 kB / 433.5 MB, free: 5.957 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.609e-05/0.3251, allocations: 47.44 kB / 433.5 MB, free: 5.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/0.3251, allocations: 4 kB / 433.5 MB, free: 5.906 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3253, allocations: 334.8 kB / 433.8 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.3254, allocations: 71.98 kB / 433.9 MB, free: 5.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.3256, allocations: 112.3 kB / 434 MB, free: 5.375 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.3257, allocations: 87.28 kB / 434.1 MB, free: 5.293 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3258, allocations: 0 / 434.1 MB, free: 5.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003936/0.3262, allocations: 251.3 kB / 434.3 MB, free: 5.043 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3262, allocations: 12.09 kB / 434.4 MB, free: 5.031 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.3262, allocations: 4.547 kB / 434.4 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3262, allocations: 4 kB / 434.4 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.3264, allocations: 27.92 kB / 434.4 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.3264, allocations: 4 kB / 434.4 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.964e-05/0.3265, allocations: 23.8 kB / 434.4 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.3265, allocations: 8 kB / 434.4 MB, free: 4.961 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 29 (n,$whenCondition2,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,truncatedNormalNoise.localSeed,$whenCondition1,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,uniformNoise.localSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 21 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0001277/0.3267, allocations: 143.9 kB / 434.6 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.3267, allocations: 15.81 kB / 434.6 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.019e-05/0.3267, allocations: 21.55 kB / 434.6 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3268, allocations: 4 kB / 434.6 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3268, allocations: 0 / 434.6 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.3268, allocations: 7.984 kB / 434.6 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.327, allocations: 217.6 kB / 434.8 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.327, allocations: 3.953 kB / 434.8 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-05/0.3271, allocations: 19.94 kB / 434.9 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.3271, allocations: 7.984 kB / 434.9 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.3271, allocations: 4 kB / 434.9 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.3271, allocations: 4 kB / 434.9 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3271, allocations: 0 / 434.9 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/0.3275, allocations: 299.9 kB / 435.2 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-05/0.3276, allocations: 100.8 kB / 435.3 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.3277, allocations: 8 kB / 435.3 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.524e-05/0.3278, allocations: 11.98 kB / 435.3 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.3278, allocations: 23.97 kB / 435.3 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.3278, allocations: 4 kB / 435.3 MB, free: 3.953 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001197/0.328, allocations: 132.6 kB / 435.4 MB, free: 3.824 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.328, allocations: 0 / 435.4 MB, free: 3.824 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006478/0.3286, allocations: 167.7 kB / 435.6 MB, free: 3.66 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (n,truncatedNormalNoise.localSeed,$whenCondition2,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,uniformNoise.localSeed,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw) * Number of discrete states: 8 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001592/0.3302, allocations: 1.353 MB / 437 MB, free: 2.262 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000352/0.3306, allocations: 227.2 kB / 437.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3306, allocations: 0 / 437.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.3308, allocations: 63.92 kB / 437.2 MB, free: 1.965 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.3309, allocations: 12.14 kB / 437.2 MB, free: 1.949 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006804/0.3316, allocations: 351.5 kB / 437.6 MB, free: 1.555 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.332, allocations: 0.7206 MB / 438.3 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.396e-05/0.332, allocations: 21.19 kB / 438.3 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.708e-05/0.3321, allocations: 46.05 kB / 438.4 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3321, allocations: 0 / 438.4 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01834/0.3505, allocations: 5.4 MB / 443.8 MB, free: 11.46 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/0.3507, allocations: 168.3 kB / 443.9 MB, free: 11.23 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_Distributions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_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_Distributions_functions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_functions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_functions.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_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_Distributions_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_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_Distributions_functions.o] Error 1