Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed.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.AutomaticSeed,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed",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.0008555/0.0008559, allocations: 172 kB / 15.44 MB, free: 6.23 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.004/1.004, allocations: 170.8 MB / 187 MB, free: 0.9961 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.001488/0.001488, allocations: 102.8 kB / 226.5 MB, free: 9.969 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.01855/0.01855, allocations: 3.111 MB / 269.1 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003344/0.0003344, allocations: 9.906 kB / 319.4 MB, free: 62.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05788/0.05823, allocations: 39.4 MB / 358.8 MB, free: 23.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed): time 0.001538/0.05981, allocations: 1.593 MB / 360.4 MB, free: 21.87 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.06137, allocations: 1.064 MB / 361.4 MB, free: 20.8 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.06152, allocations: 4 kB / 361.4 MB, free: 20.79 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.06163, allocations: 11.81 kB / 361.4 MB, free: 20.78 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005062/0.06215, allocations: 107.5 kB / 361.5 MB, free: 20.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.06251, allocations: 195.7 kB / 361.7 MB, free: 20.48 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002804/0.0628, allocations: 339 kB / 362.1 MB, free: 20.15 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.757e-05/0.06288, allocations: 24.72 kB / 362.1 MB, free: 20.13 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.06307, allocations: 143.4 kB / 362.2 MB, free: 19.99 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.06321, allocations: 163.2 kB / 362.4 MB, free: 19.83 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.512e-05/0.06326, allocations: 16 kB / 362.4 MB, free: 19.81 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.06357, allocations: 143.8 kB / 362.5 MB, free: 19.67 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.081e-05/0.06366, allocations: 83.64 kB / 362.6 MB, free: 19.59 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.06378, allocations: 172.8 kB / 362.8 MB, free: 19.41 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.06419, allocations: 418.6 kB / 363.2 MB, free: 19 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.0642, allocations: 0 / 363.2 MB, free: 19 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.06421, allocations: 0 / 363.2 MB, free: 19 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.06422, allocations: 0 / 363.2 MB, free: 19 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0008293/0.06506, allocations: 0.6374 MB / 363.8 MB, free: 18.32 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.0651, allocations: 8.031 kB / 363.8 MB, free: 18.31 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.291e-05/0.06516, allocations: 50.73 kB / 363.9 MB, free: 18.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000728/0.0659, allocations: 112.5 kB / 364 MB, free: 18.14 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.06613, allocations: 272 kB / 364.3 MB, free: 17.84 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/0.06617, allocations: 16.38 kB / 364.3 MB, free: 17.82 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.139e-05/0.06622, allocations: 20.36 kB / 364.3 MB, free: 17.8 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004628/0.06669, allocations: 366.1 kB / 364.7 MB, free: 17.41 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.06671, allocations: 0 / 364.7 MB, free: 17.41 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.06674, allocations: 0 / 364.7 MB, free: 17.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.06675, allocations: 4 kB / 364.7 MB, free: 17.41 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004219/0.06718, allocations: 223.7 kB / 364.9 MB, free: 17.19 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.06755, allocations: 446.8 kB / 365.3 MB, free: 16.67 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00069/0.06825, allocations: 0.5188 MB / 365.8 MB, free: 16.04 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/0.06855, allocations: 234.2 kB / 366.1 MB, free: 15.77 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.06857, allocations: 11.94 kB / 366.1 MB, free: 15.76 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005192/0.0691, allocations: 433.5 kB / 366.5 MB, free: 15.29 MB / 250.7 MB Notification: Performance of pre-optimization done (n=54): time 2.565e-06/0.06911, allocations: 0 / 366.5 MB, free: 15.29 MB / 250.7 MB Notification: Performance of matching and sorting (n=54): time 0.001278/0.07039, allocations: 0.7526 MB / 367.3 MB, free: 14.53 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.021e-05/0.0705, allocations: 386 kB / 367.6 MB, free: 14.07 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.07073, allocations: 308.5 kB / 367.9 MB, free: 13.76 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.883e-05/0.07081, allocations: 93.75 kB / 368 MB, free: 13.66 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.07088, allocations: 149.1 kB / 368.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.921e-05/0.07098, allocations: 138.3 kB / 368.3 MB, free: 13.38 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/0.07101, allocations: 8 kB / 368.3 MB, free: 13.37 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.077e-05/0.07109, allocations: 366.7 kB / 368.7 MB, free: 13 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003984/0.07149, allocations: 281.5 kB / 368.9 MB, free: 12.73 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/0.07193, allocations: 390.8 kB / 369.3 MB, free: 12.31 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007852/0.07272, allocations: 0.6473 MB / 370 MB, free: 11.64 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.07274, allocations: 0 / 370 MB, free: 11.64 MB / 250.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001023/0.07376, allocations: 0.7895 MB / 370.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.07379, allocations: 4 kB / 370.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.0738, allocations: 7.984 kB / 370.8 MB, free: 10.83 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.07382, allocations: 4 kB / 370.8 MB, free: 10.83 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.0741, allocations: 75.83 kB / 370.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.07412, allocations: 8 kB / 370.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.07431, allocations: 67.45 kB / 370.9 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.07436, allocations: 23.98 kB / 371 MB, free: 10.66 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 84 ($whenCondition6,$PRE.manualSeed3.state[1],manualSeed3.state[1],$PRE.manualSeed3.state[2],manualSeed3.state[2],$PRE.manualSeed3.state[3],manualSeed3.state[3],$PRE.manualSeed3.state[4],manualSeed3.state[4],$PRE.manualSeed3.r,manualSeed3.r,$PRE.manualSeed3.r_raw,manualSeed3.r_raw,manualSeed3.localSeed,$whenCondition5,$PRE.manualSeed2.state[1],manualSeed2.state[1],$PRE.manualSeed2.state[2],manualSeed2.state[2],$PRE.manualSeed2.state[3],manualSeed2.state[3],$PRE.manualSeed2.state[4],manualSeed2.state[4],$PRE.manualSeed2.r,manualSeed2.r,$PRE.manualSeed2.r_raw,manualSeed2.r_raw,manualSeed2.localSeed,$whenCondition4,$PRE.manualSeed1.state[1],manualSeed1.state[1],$PRE.manualSeed1.state[2],manualSeed1.state[2],$PRE.manualSeed1.state[3],manualSeed1.state[3],$PRE.manualSeed1.state[4],manualSeed1.state[4],$PRE.manualSeed1.r,manualSeed1.r,$PRE.manualSeed1.r_raw,manualSeed1.r_raw,manualSeed1.localSeed,$whenCondition3,$PRE.automaticSeed3.state[1],automaticSeed3.state[1],$PRE.automaticSeed3.state[2],automaticSeed3.state[2],$PRE.automaticSeed3.state[3],automaticSeed3.state[3],$PRE.automaticSeed3.state[4],automaticSeed3.state[4],$PRE.automaticSeed3.r,automaticSeed3.r,$PRE.automaticSeed3.r_raw,automaticSeed3.r_raw,automaticSeed3.localSeed,$whenCondition2,$PRE.automaticSeed2.state[1],automaticSeed2.state[1],$PRE.automaticSeed2.state[2],automaticSeed2.state[2],$PRE.automaticSeed2.state[3],automaticSeed2.state[3],$PRE.automaticSeed2.state[4],automaticSeed2.state[4],$PRE.automaticSeed2.r,automaticSeed2.r,$PRE.automaticSeed2.r_raw,automaticSeed2.r_raw,automaticSeed2.localSeed,$whenCondition1,$PRE.automaticSeed1.state[1],automaticSeed1.state[1],$PRE.automaticSeed1.state[2],automaticSeed1.state[2],$PRE.automaticSeed1.state[3],automaticSeed1.state[3],$PRE.automaticSeed1.state[4],automaticSeed1.state[4],$PRE.automaticSeed1.r,automaticSeed1.r,$PRE.automaticSeed1.r_raw,automaticSeed1.r_raw,automaticSeed1.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 66 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001804/0.07454, allocations: 225.8 kB / 371.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.0746, allocations: 43.52 kB / 371.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.444e-05/0.07465, allocations: 33.89 kB / 371.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.07467, allocations: 8 kB / 371.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.07468, allocations: 4 kB / 371.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.07468, allocations: 0 / 371.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.07496, allocations: 353.1 kB / 371.6 MB, free: 9.938 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.07497, allocations: 4 kB / 371.6 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.07509, allocations: 35.92 kB / 371.6 MB, free: 9.898 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.0751, allocations: 4 kB / 371.7 MB, free: 9.895 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.07513, allocations: 11.98 kB / 371.7 MB, free: 9.883 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.07514, allocations: 7.984 kB / 371.7 MB, free: 9.875 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.07515, allocations: 11.92 kB / 371.7 MB, free: 9.863 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007826/0.07593, allocations: 0.6773 MB / 372.4 MB, free: 9.137 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.076, allocations: 128.5 kB / 372.5 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.07605, allocations: 31.98 kB / 372.5 MB, free: 8.961 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.07622, allocations: 23.97 kB / 372.5 MB, free: 8.938 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.593e-05/0.07631, allocations: 47.89 kB / 372.6 MB, free: 8.891 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.07634, allocations: 19.98 kB / 372.6 MB, free: 8.871 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001449/0.07649, allocations: 211.1 kB / 372.8 MB, free: 8.664 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.0765, allocations: 3.938 kB / 372.8 MB, free: 8.66 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003659/0.07687, allocations: 99.98 kB / 372.9 MB, free: 8.562 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 48 (manualSeed3.localSeed,$whenCondition6,manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4],manualSeed3.r,manualSeed3.r_raw,manualSeed2.localSeed,$whenCondition5,manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed2.r,manualSeed2.r_raw,manualSeed1.localSeed,$whenCondition4,manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],manualSeed1.r,manualSeed1.r_raw,automaticSeed3.localSeed,$whenCondition3,automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed3.r,automaticSeed3.r_raw,automaticSeed2.localSeed,$whenCondition2,automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed2.r,automaticSeed2.r_raw,automaticSeed1.localSeed,$whenCondition1,automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4],automaticSeed1.r,automaticSeed1.r_raw) * Number of discrete states: 24 (automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4],automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 18 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001219/0.07809, allocations: 1.317 MB / 374.2 MB, free: 7.191 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008131/0.07892, allocations: 0.5653 MB / 374.8 MB, free: 6.625 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.07893, allocations: 7.938 kB / 374.8 MB, free: 6.617 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003683/0.07931, allocations: 232.2 kB / 375 MB, free: 6.391 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.07963, allocations: 32.58 kB / 375.1 MB, free: 6.359 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004189/0.08383, allocations: 4.497 MB / 379.6 MB, free: 1.633 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.084, allocations: 0.7847 MB / 380.3 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.84e-05/0.08411, allocations: 42.95 kB / 380.4 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.08424, allocations: 111.4 kB / 380.5 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of SimCode: time 3.61e-07/0.08425, allocations: 0 / 380.5 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01678/0.101, allocations: 7.26 MB / 387.8 MB, free: 9.492 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/0.1013, allocations: 224.1 kB / 388 MB, free: 9.227 MB / 266.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -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_AutomaticSeed.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -I. -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_AutomaticSeed_functions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_functions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_functions.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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_AutomaticSeed_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:600:10: warning: implicit declaration of function '_getpid' is invalid in C99 [-Wimplicit-function-declaration] pid = ModelicaRandom_getpid(); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:207:34: note: expanded from macro 'ModelicaRandom_getpid' # define ModelicaRandom_getpid _getpid ^ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_functions.c:23:34: warning: passing 'const int *' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ModelicaRandom_xorshift128plus((const int*) _stateIn_c89, (int*) _stateOut_c89, &_result_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:363:57: note: passing argument to parameter 'state_in' here MODELICA_EXPORT void ModelicaRandom_xorshift128plus(int state_in[], int state_out[], double* y) { ^ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_functions.c:108:33: warning: passing 'const int *' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ModelicaRandom_xorshift64star((const int*) _stateIn_c89, (int*) _stateOut_c89, &_result_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:312:56: note: passing argument to parameter 'state_in' here MODELICA_EXPORT void ModelicaRandom_xorshift64star(int state_in[], int state_out[], double* y) { ^ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_functions.c:334:52: warning: passing 'const int *' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ModelicaRandom_setInternalState_xorshift1024star((const int*) _rngState_c89, size_of_dimension_base_array(_rngState, ((modelica_integer) 1)), _id_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:530:76: note: passing argument to parameter 'state' here MODELICA_EXPORT void ModelicaRandom_setInternalState_xorshift1024star(int* state, size_t nState, int id) { ^ 6 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -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_AutomaticSeed_records.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_records.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -I. -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_AutomaticSeed_01exo.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_01exo.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_01exo.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -I. -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_AutomaticSeed_02nls.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_02nls.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_02nls.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -I. -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_AutomaticSeed_03lsy.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_03lsy.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_03lsy.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -I. -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_AutomaticSeed_04set.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_04set.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_04set.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -I. -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_AutomaticSeed_05evt.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_05evt.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_05evt.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -I. -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_AutomaticSeed_06inz.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_06inz.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_06inz.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_06inz.c:37:53: error: use of undeclared identifier 'state'; did you mean 'static'? integer_array_create(&tmp0, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ static Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_06inz.c:37:53: error: address of overloaded function 'status' does not match required type 'long' integer_array_create(&tmp0, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_06inz.c:37:75: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp0, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_06inz.c:191:53: error: use of undeclared identifier 'state'; did you mean 'static'? integer_array_create(&tmp4, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ static Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_06inz.c:191:53: error: address of overloaded function 'status' does not match required type 'long' integer_array_create(&tmp4, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_06inz.c:191:75: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp4, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_06inz.c:345:53: error: use of undeclared identifier 'state'; did you mean 'static'? integer_array_create(&tmp8, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ static Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_06inz.c:345:53: error: address of overloaded function 'status' does not match required type 'long' integer_array_create(&tmp8, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_06inz.c:345:75: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp8, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_06inz.c:499:54: error: use of undeclared identifier 'state'; did you mean 'static'? integer_array_create(&tmp12, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ static Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_06inz.c:499:54: error: address of overloaded function 'status' does not match required type 'long' integer_array_create(&tmp12, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_06inz.c:499:76: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp12, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_06inz.c:653:54: error: use of undeclared identifier 'state'; did you mean 'static'? integer_array_create(&tmp16, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ static Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_06inz.c:653:54: error: address of overloaded function 'status' does not match required type 'long' integer_array_create(&tmp16, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_06inz.c:653:76: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp16, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_06inz.c:807:54: error: use of undeclared identifier 'state'; did you mean 'static'? integer_array_create(&tmp20, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ static Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_06inz.c:807:54: error: address of overloaded function 'status' does not match required type 'long' integer_array_create(&tmp20, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_06inz.c:807:76: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp20, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^ 2 warnings and 18 errors generated. make: *** [: Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_06inz.o] Error 1