Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise.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.UniformNoise,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise",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.001024/0.001024, allocations: 170.5 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.217/1.217, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001392/0.001391, allocations: 99.52 kB / 223.2 MB, free: 4.055 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.01656/0.01656, allocations: 3.047 MB / 265.5 MB, free: 24.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.837e-05/3.84e-05, allocations: 4 kB / 312.9 MB, free: 8.895 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2678, allocations: 39.38 MB / 352.2 MB, free: 37.39 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08161/0.3495, allocations: 68.03 MB / 420.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.3498, allocations: 79.95 kB / 420.3 MB, free: 3.457 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.01228/0.3621, allocations: 4.817 MB / 425.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3621, allocations: 3.938 kB / 425.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3621, allocations: 0 / 425.2 MB, free: 14.62 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004402/0.3626, allocations: 390.6 kB / 425.5 MB, free: 14.19 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3626, allocations: 12.03 kB / 425.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.394e-05/0.3627, allocations: 38.55 kB / 425.6 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.3628, allocations: 23.89 kB / 425.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.363, allocations: 179 kB / 425.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.363, allocations: 4 kB / 425.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.3631, allocations: 11.88 kB / 425.8 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.3632, allocations: 79.38 kB / 425.9 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.3632, allocations: 0 / 425.9 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3632, allocations: 0 / 425.9 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3633, allocations: 7.984 kB / 425.9 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.012e-05/0.3633, allocations: 19.98 kB / 425.9 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002018/0.3635, allocations: 206.3 kB / 426.1 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.3636, allocations: 65.22 kB / 426.2 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.804e-05/0.3637, allocations: 33.81 kB / 426.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.804e-06/0.3637, allocations: 7.953 kB / 426.2 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.3639, allocations: 101 kB / 426.3 MB, free: 13.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.3639, allocations: 0 / 426.3 MB, free: 13.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002312/0.3641, allocations: 105.5 kB / 426.4 MB, free: 13.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.3642, allocations: 89.11 kB / 426.5 MB, free: 13.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.3643, allocations: 126.4 kB / 426.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.3643, allocations: 33.69 kB / 426.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.3644, allocations: 92.33 kB / 426.8 MB, free: 12.78 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.3644, allocations: 27.88 kB / 426.8 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/0.3644, allocations: 4 kB / 426.8 MB, free: 12.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.692e-05/0.3645, allocations: 322.8 kB / 427.1 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.155e-05/0.3646, allocations: 32 kB / 427.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.343e-05/0.3647, allocations: 53.22 kB / 427.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.879e-05/0.3647, allocations: 49.22 kB / 427.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3647, allocations: 0 / 427.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001971/0.3649, allocations: 143.6 kB / 427.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.365, allocations: 4 kB / 427.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.365, allocations: 0 / 427.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.365, allocations: 4 kB / 427.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.143e-05/0.3651, allocations: 11.94 kB / 427.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.3651, allocations: 7.891 kB / 427.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.205e-05/0.3652, allocations: 11.97 kB / 427.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.3652, allocations: 4 kB / 427.4 MB, free: 12.11 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,$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 (12): * Single equations (assignments): 10 * 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.3653, allocations: 113 kB / 427.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.3653, allocations: 11.86 kB / 427.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.3654, allocations: 12.61 kB / 427.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3654, allocations: 0 / 427.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3654, allocations: 4 kB / 427.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3654, allocations: 0 / 427.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.3655, allocations: 189.5 kB / 427.7 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3655, allocations: 0 / 427.7 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.97e-05/0.3656, allocations: 4 kB / 427.7 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3656, allocations: 0 / 427.7 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.3656, allocations: 11.95 kB / 427.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3656, allocations: 0 / 427.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3656, allocations: 0 / 427.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.3658, allocations: 159.5 kB / 427.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.3658, allocations: 84.95 kB / 428 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.3659, allocations: 16 kB / 428 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.379e-05/0.3659, allocations: 8 kB / 428 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.366, allocations: 7.984 kB / 428 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.366, allocations: 4 kB / 428 MB, free: 11.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.417e-05/0.366, allocations: 107.2 kB / 428.1 MB, free: 11.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3661, allocations: 3.938 kB / 428.1 MB, free: 11.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002561/0.3663, allocations: 56 kB / 428.2 MB, free: 11.22 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 (uniformNoise.localSeed,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw) * Number of discrete states: 4 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 2 * 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.0006413/0.367, allocations: 0.8306 MB / 429 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.3672, allocations: 109.6 kB / 429.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3672, allocations: 0 / 429.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.151e-05/0.3672, allocations: 28 kB / 429.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000108/0.3673, allocations: 10.52 kB / 429.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/0.3677, allocations: 187.5 kB / 429.3 MB, free: 9.996 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.368, allocations: 0.6965 MB / 430 MB, free: 9.273 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.944e-05/0.368, allocations: 7.984 kB / 430.1 MB, free: 9.266 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.3681, allocations: 19.44 kB / 430.1 MB, free: 9.25 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3681, allocations: 0 / 430.1 MB, free: 9.25 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01321/0.3813, allocations: 2.846 MB / 432.9 MB, free: 6.512 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002506/0.3816, allocations: 174.9 kB / 433.1 MB, free: 6.281 MB / 298.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_UniformNoise.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_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_UniformNoise_functions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_functions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_functions.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_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_UniformNoise_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_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_UniformNoise_functions.o] Error 1