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.004637/0.004637, 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.192/1.192, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001554/0.001554, allocations: 109.7 kB / 226.2 MB, free: 10.1 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.01908/0.01908, allocations: 3.107 MB / 268.7 MB, free: 15.46 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003554, allocations: 9.188 kB / 318.7 MB, free: 63.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06816/0.06853, allocations: 39.39 MB / 358.1 MB, free: 23.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2424/0.3109, allocations: 69.66 MB / 427.8 MB, free: 18.62 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.3112, allocations: 82.62 kB / 427.8 MB, free: 18.62 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.02472/0.3359, allocations: 9.281 MB / 437.1 MB, free: 17.6 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.336, allocations: 0 / 437.1 MB, free: 17.6 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.336, allocations: 3.875 kB / 437.1 MB, free: 17.6 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008488/0.3368, allocations: 0.5332 MB / 437.7 MB, free: 17.11 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3369, allocations: 15.61 kB / 437.7 MB, free: 17.1 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.535e-05/0.3369, allocations: 30.56 kB / 437.7 MB, free: 17.06 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.3371, allocations: 35.28 kB / 437.7 MB, free: 17.05 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.3373, allocations: 205.6 kB / 437.9 MB, free: 16.83 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.3373, allocations: 11.77 kB / 437.9 MB, free: 16.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.3373, allocations: 7.25 kB / 438 MB, free: 16.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.3376, allocations: 145.9 kB / 438.1 MB, free: 16.72 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3376, allocations: 0 / 438.1 MB, free: 16.72 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.3376, allocations: 3.938 kB / 438.1 MB, free: 16.72 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.3376, allocations: 0 / 438.1 MB, free: 16.72 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.3378, allocations: 81.39 kB / 438.2 MB, free: 16.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002318/0.3381, allocations: 274.5 kB / 438.4 MB, free: 16.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.3384, allocations: 210.2 kB / 438.7 MB, free: 16.28 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.3384, allocations: 0 / 438.7 MB, free: 16.28 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002546/0.3387, allocations: 177.2 kB / 438.8 MB, free: 16.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 1.233e-06/0.3387, allocations: 0 / 438.8 MB, free: 16.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.000624/0.3393, allocations: 462 kB / 439.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.3394, allocations: 169.3 kB / 439.4 MB, free: 15.69 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.3395, allocations: 172.9 kB / 439.6 MB, free: 15.58 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.3395, allocations: 48.38 kB / 439.7 MB, free: 15.54 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.3396, allocations: 110.6 kB / 439.8 MB, free: 15.45 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.3396, allocations: 48.81 kB / 439.8 MB, free: 15.42 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.147e-05/0.3397, allocations: 7.312 kB / 439.8 MB, free: 15.42 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.927e-05/0.3397, allocations: 325.5 kB / 440.1 MB, free: 15.1 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.3399, allocations: 94.28 kB / 440.2 MB, free: 15.08 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.3401, allocations: 127.5 kB / 440.4 MB, free: 15.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.3403, allocations: 98.42 kB / 440.5 MB, free: 15.01 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3403, allocations: 0 / 440.5 MB, free: 15.01 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004246/0.3407, allocations: 285.7 kB / 440.7 MB, free: 14.92 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.3407, allocations: 10.69 kB / 440.7 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.3407, allocations: 3.969 kB / 440.7 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.3408, allocations: 0 / 440.7 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.3409, allocations: 31.41 kB / 440.8 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.3409, allocations: 3.938 kB / 440.8 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.903e-05/0.341, allocations: 23.17 kB / 440.8 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.341, allocations: 11.69 kB / 440.8 MB, free: 14.9 MB / 282.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 () * Number of clocked 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.0001013/0.3411, allocations: 140.7 kB / 441 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.3412, allocations: 23.34 kB / 441 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.3412, allocations: 16.75 kB / 441 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3412, allocations: 3.938 kB / 441 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3412, allocations: 3.938 kB / 441 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.3412, allocations: 7.938 kB / 441 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.3414, allocations: 226 kB / 441.2 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3414, allocations: 0 / 441.2 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.916e-05/0.3415, allocations: 15.25 kB / 441.2 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3415, allocations: 3.953 kB / 441.2 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.3415, allocations: 7.922 kB / 441.3 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3415, allocations: 0 / 441.3 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3415, allocations: 3.938 kB / 441.3 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.3419, allocations: 333.4 kB / 441.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.789e-05/0.342, allocations: 104.4 kB / 441.7 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.342, allocations: 11.7 kB / 441.7 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.022e-05/0.3421, allocations: 11.83 kB / 441.7 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.3421, allocations: 11.73 kB / 441.7 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.3422, allocations: 15.77 kB / 441.7 MB, free: 14.17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.628e-05/0.3422, allocations: 136.3 kB / 441.9 MB, free: 14.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3422, allocations: 0 / 441.9 MB, free: 14.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005827/0.3428, allocations: 166.7 kB / 442 MB, free: 14.03 MB / 282.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]) * Number of clocked states: 0 () * 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.001201/0.344, allocations: 1.384 MB / 443.4 MB, free: 12.92 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003968/0.3445, allocations: 251.5 kB / 443.7 MB, free: 12.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3445, allocations: 3.844 kB / 443.7 MB, free: 12.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.3446, allocations: 80.44 kB / 443.7 MB, free: 12.81 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.3448, allocations: 20.31 kB / 443.8 MB, free: 12.8 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.3463, allocations: 1.819 MB / 445.6 MB, free: 11.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.3465, allocations: 0.7157 MB / 446.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.42e-05/0.3465, allocations: 29.03 kB / 446.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.295e-05/0.3466, allocations: 40.64 kB / 446.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3466, allocations: 0 / 446.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.3634, allocations: 5.402 MB / 451.8 MB, free: 8.113 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001534/0.3635, allocations: 200.6 kB / 452 MB, free: 7.867 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_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: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_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: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_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