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.001064/0.001064, allocations: 170.2 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.223/1.223, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001258/0.001258, allocations: 111.5 kB / 223.2 MB, free: 4.113 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.01615/0.01615, allocations: 3.045 MB / 265.5 MB, free: 24.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.621e-05/2.624e-05, allocations: 0 / 312.8 MB, free: 8.91 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2221, allocations: 39.38 MB / 352.2 MB, free: 37.41 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08391/0.3061, allocations: 66.73 MB / 419 MB, free: 4.832 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.3063, allocations: 79.95 kB / 419 MB, free: 4.754 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.006599/0.3129, allocations: 2.649 MB / 421.7 MB, free: 2.098 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.313, allocations: 0 / 421.7 MB, free: 2.098 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.313, allocations: 0 / 421.7 MB, free: 2.098 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.0003267/0.3133, allocations: 354.3 kB / 422 MB, free: 1.707 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.3134, allocations: 12.03 kB / 422 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.48e-05/0.3134, allocations: 34.5 kB / 422.1 MB, free: 1.652 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.256e-05/0.3134, allocations: 0 / 422.1 MB, free: 1.652 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.3136, allocations: 167.1 kB / 422.2 MB, free: 1.449 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.3136, allocations: 4 kB / 422.2 MB, free: 1.445 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.3136, allocations: 3.953 kB / 422.2 MB, free: 1.441 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.968e-05/0.3137, allocations: 35.19 kB / 422.3 MB, free: 1.402 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.3137, allocations: 0 / 422.3 MB, free: 1.402 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.3137, allocations: 0 / 422.3 MB, free: 1.402 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3137, allocations: 0 / 422.3 MB, free: 1.402 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.743e-05/0.3137, allocations: 4 kB / 422.3 MB, free: 1.398 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001353/0.3139, allocations: 149.7 kB / 422.4 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.908e-05/0.3139, allocations: 30.55 kB / 422.5 MB, free: 1.164 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.592e-05/0.3139, allocations: 4.859 kB / 422.5 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-06/0.314, allocations: 15.94 kB / 422.5 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.945e-05/0.3141, allocations: 43.41 kB / 422.5 MB, free: 1.086 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.103e-06/0.3141, allocations: 0 / 422.5 MB, free: 1.086 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001379/0.3142, allocations: 53.53 kB / 422.6 MB, free: 1.027 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.3143, allocations: 55.44 kB / 422.6 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.74e-05/0.3144, allocations: 101 kB / 422.7 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.3144, allocations: 29.7 kB / 422.8 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.3144, allocations: 84.14 kB / 422.8 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.256e-05/0.3144, allocations: 3.094 kB / 422.8 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.3144, allocations: 0 / 422.8 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3146, allocations: 314.8 kB / 423.1 MB, free: 428 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.3146, allocations: 4 kB / 423.2 MB, free: 424 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.211e-05/0.3146, allocations: 13.72 kB / 423.2 MB, free: 404 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.326e-05/0.3146, allocations: 4 kB / 423.2 MB, free: 400 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3146, allocations: 0 / 423.2 MB, free: 400 kB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.596e-05/0.3147, allocations: 53.53 kB / 423.2 MB, free: 340 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3147, allocations: 7.953 kB / 423.2 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.3147, allocations: 0 / 423.2 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.3148, allocations: 0 / 423.2 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.828e-05/0.3148, allocations: 4.125 kB / 423.2 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.3148, allocations: 4 kB / 423.2 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.717e-05/0.3148, allocations: 0 / 423.2 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.3148, allocations: 2.812 kB / 423.2 MB, free: 324 kB / 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 () * 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.078e-05/0.3149, allocations: 109.2 kB / 423.3 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-06/0.3149, allocations: 0 / 423.3 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.315, allocations: 15.56 kB / 423.4 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.315, allocations: 4 kB / 423.4 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.315, allocations: 0 / 423.4 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.315, allocations: 0 / 423.4 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.3151, allocations: 157.7 kB / 423.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3151, allocations: 0 / 423.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.737e-06/0.3151, allocations: 3.938 kB / 423.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3151, allocations: 0 / 423.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.3152, allocations: 3.984 kB / 423.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3152, allocations: 7.953 kB / 423.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3152, allocations: 0 / 423.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.739e-05/0.3153, allocations: 73.06 kB / 423.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.3153, allocations: 85.05 kB / 423.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.3153, allocations: 4 kB / 423.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.149e-05/0.3154, allocations: 0 / 423.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.3154, allocations: 3.953 kB / 423.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.3154, allocations: 3.75 kB / 423.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.7e-05/0.3155, allocations: 91.27 kB / 423.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3155, allocations: 0 / 423.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002473/0.3157, allocations: 28 kB / 423.8 MB, free: 15.65 MB / 298.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 () * 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.0005819/0.3163, allocations: 0.6598 MB / 424.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.56e-05/0.3164, allocations: 19.97 kB / 424.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3164, allocations: 0 / 424.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.139e-05/0.3165, allocations: 4 kB / 424.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001099/0.3166, allocations: 11.94 kB / 424.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003069/0.3169, allocations: 105.6 kB / 424.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.3172, allocations: 0.677 MB / 425.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.132e-05/0.3172, allocations: 7.984 kB / 425.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.3173, allocations: 15.62 kB / 425.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of SimCode: time 3.6e-07/0.3173, allocations: 4 kB / 425.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01262/0.3299, allocations: 1.827 MB / 427.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/0.3301, allocations: 170.4 kB / 427.3 MB, free: 12.14 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_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: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_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: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_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